Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetScheduler ¶
GetScheduler returns the logs-config scheduler if set.
func IsAgentRunning ¶
func IsAgentRunning() bool
IsAgentRunning returns true if the logs-agent is running.
Types ¶
type Agent ¶
type Agent struct {
// contains filtered or unexported fields
}
Agent represents the data pipeline that collects, decodes, processes and sends logs to the backend + ------------------------------------------------------ + | | | Collector -> Decoder -> Processor -> Sender -> Auditor | | | + ------------------------------------------------------ +
func NewAgent ¶
func NewAgent(sources *config.LogSources, services *service.Services, processingRules []*config.ProcessingRule, endpoints *config.Endpoints) *Agent
NewAgent returns a new Logs Agent
Click to show internal directories.
Click to hide internal directories.