Documentation ¶
Overview ¶
Package ptinput impl ppl input interface
Index ¶
- Constants
- Variables
- type DoFeedCache
- type InputWithVarbMapR
- type InputWithVarbMapRW
- type InputWithoutVarbMap
- type KeyKind
- type PlInputPt
- type PlPoint
- func (pt *PlPoint) AppendSubPoint(plpt PlInputPt)
- func (pt *PlPoint) Category() point.Category
- func (pt *PlPoint) Delete(key string)
- func (pt *PlPoint) Dropped() bool
- func (pt *PlPoint) Fields() map[string]any
- func (pt *PlPoint) Get(key string) (any, ast.DType, error)
- func (pt *PlPoint) GetAggBuckets() *plmap.AggBuckets
- func (pt *PlPoint) GetCache() *plcache.Cache
- func (pt *PlPoint) GetIPDB() ipdb.IPdb
- func (pt *PlPoint) GetPlReferTables() refertable.PlReferTables
- func (pt *PlPoint) GetPtName() string
- func (pt *PlPoint) GetSubPoint() []PlInputPt
- func (pt *PlPoint) GetWithIsTag(key string) (any, bool, bool)
- func (pt *PlPoint) KeyTime2Time()
- func (pt *PlPoint) MarkDrop(drop bool)
- func (pt *PlPoint) Point() *point.Point
- func (pt *PlPoint) PtTime() time.Time
- func (pt *PlPoint) RenameKey(from, to string) error
- func (pt *PlPoint) Set(key string, value any, dtype ast.DType) error
- func (pt *PlPoint) SetAggBuckets(buks *plmap.AggBuckets)
- func (pt *PlPoint) SetCache(c *plcache.Cache)
- func (pt *PlPoint) SetIPDB(db ipdb.IPdb)
- func (pt *PlPoint) SetPlReferTables(refTable refertable.PlReferTables)
- func (pt *PlPoint) SetPtName(m string)
- func (pt *PlPoint) SetTag(key string, value any, dtype ast.DType) error
- func (pt *PlPoint) Tags() map[string]string
- type PlmapManager
- type PtFlag
Constants ¶
View Source
const Originkey = "message"
Variables ¶
Functions ¶
This section is empty.
Types ¶
type InputWithVarbMapR ¶
type InputWithVarbMapRW ¶
type InputWithoutVarbMap ¶
type InputWithoutVarbMap interface{}
type PlInputPt ¶
type PlInputPt interface { GetPtName() string SetPtName(m string) Get(key string) (any, ast.DType, error) GetWithIsTag(key string) (any, bool, bool) Set(key string, value any, dtype ast.DType) error Delete(key string) RenameKey(from, to string) error SetTag(key string, value any, dtype ast.DType) error PtTime() time.Time GetAggBuckets() *plmap.AggBuckets SetAggBuckets(*plmap.AggBuckets) AppendSubPoint(PlInputPt) GetSubPoint() []PlInputPt Category() point.Category KeyTime2Time() MarkDrop(bool) Dropped() bool Point() *point.Point GetIPDB() ipdb.IPdb SetIPDB(ipdb.IPdb) GetPlReferTables() refertable.PlReferTables SetPlReferTables(refertable.PlReferTables) Tags() map[string]string Fields() map[string]any GetCache() *plcache.Cache SetCache(*plcache.Cache) }
func NewPlPoint ¶
type PlPoint ¶
type PlPoint struct {
// contains filtered or unexported fields
}
func (*PlPoint) AppendSubPoint ¶
func (*PlPoint) GetAggBuckets ¶
func (pt *PlPoint) GetAggBuckets() *plmap.AggBuckets
func (*PlPoint) GetPlReferTables ¶
func (pt *PlPoint) GetPlReferTables() refertable.PlReferTables
func (*PlPoint) GetSubPoint ¶
func (*PlPoint) KeyTime2Time ¶
func (pt *PlPoint) KeyTime2Time()
func (*PlPoint) SetAggBuckets ¶
func (pt *PlPoint) SetAggBuckets(buks *plmap.AggBuckets)
func (*PlPoint) SetPlReferTables ¶
func (pt *PlPoint) SetPlReferTables(refTable refertable.PlReferTables)
type PlmapManager ¶
type PlmapManager interface { }
Directories ¶
Path | Synopsis |
---|---|
Package funcs for pipeline
|
Package funcs for pipeline |
Package ipdb define the interface for ip location or isp.
|
Package ipdb define the interface for ip location or isp. |
geoip
Package geoip implement ipdb.
|
Package geoip implement ipdb. |
iploc
Package iploc implement ipdb.
|
Package iploc implement ipdb. |
Package plcache implements cache in pipeline
|
Package plcache implements cache in pipeline |
Package plmap used to store data during pl script execution
|
Package plmap used to store data during pl script execution |
Package refertable for saving external data
|
Package refertable for saving external data |
Package utils wraps utilities used by pipeline
|
Package utils wraps utilities used by pipeline |
Click to show internal directories.
Click to hide internal directories.