Documentation ¶
Overview ¶
Package chronicleforwarderexporter exports OpenTelemetry data to an endpoint or file.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewFactory ¶
NewFactory creates a new Chronicle exporter factory.
Types ¶
type Config ¶
type Config struct { exporterhelper.TimeoutConfig `mapstructure:",squash"` exporterhelper.QueueConfig `mapstructure:"sending_queue"` configretry.BackOffConfig `mapstructure:"retry_on_failure"` // ExportType is the type of export to use. ExportType string `mapstructure:"export_type"` // Syslog is the configuration for the connection to the Chronicle forwarder. Syslog SyslogConfig `mapstructure:"syslog"` // File is the configuration for the connection to the Chronicle forwarder. File File `mapstructure:"file"` // RawLogField is the field name that will be used to send raw logs to Chronicle. RawLogField string `mapstructure:"raw_log_field"` }
Config defines configuration for the Chronicle exporter.
type File ¶
type File struct { // Path is the path to the file to send to Chronicle. Path string `mapstructure:"path"` }
File defines configuration for sending to.
type SyslogConfig ¶
type SyslogConfig struct { confignet.AddrConfig `mapstructure:",squash"` // TLSSetting struct exposes TLS client configuration. TLSSetting *configtls.ClientConfig `mapstructure:"tls"` }
SyslogConfig defines configuration for the Chronicle forwarder connection.
Click to show internal directories.
Click to hide internal directories.