log

package
v4.0.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 4, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LogCollector

type LogCollector struct{}

func (LogCollector) Category

func (p LogCollector) Category() collector.Category

func (LogCollector) Create

func (p LogCollector) Create(data []byte, username string) error

func (LogCollector) Delete

func (p LogCollector) Delete(id int64, username string) error

func (LogCollector) Get

func (p LogCollector) Get(id int64) (interface{}, error)

func (LogCollector) GetByNameAndNid

func (p LogCollector) GetByNameAndNid(name string, nid int64) (interface{}, error)

func (LogCollector) Gets

func (p LogCollector) Gets(nids []int64) (ret []interface{}, err error)

func (LogCollector) Name

func (p LogCollector) Name() string

func (LogCollector) TelegrafInput

func (p LogCollector) TelegrafInput(*models.CollectRule) (telegraf.Input, error)

func (LogCollector) Template

func (p LogCollector) Template() (interface{}, error)

func (LogCollector) Update

func (p LogCollector) Update(data []byte, username string) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL