Documentation ¶
Overview ¶
Package syslog provides an otelcol.exporter.syslog component.
Index ¶
- type Arguments
- func (args Arguments) Convert() (otelcomponent.Config, error)
- func (args Arguments) DebugMetricsConfig() otelcolCfg.DebugMetricsArguments
- func (args Arguments) Exporters() map[pipeline.Signal]map[otelcomponent.ID]otelcomponent.Component
- func (args Arguments) Extensions() map[otelcomponent.ID]otelextension.Extension
- func (args *Arguments) SetToDefault()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Arguments ¶
type Arguments struct { Timeout time.Duration `alloy:"timeout,attr,optional"` Queue otelcol.QueueArguments `alloy:"sending_queue,block,optional"` Retry otelcol.RetryArguments `alloy:"retry_on_failure,block,optional"` // DebugMetrics configures component internal metrics. Optional. DebugMetrics otelcolCfg.DebugMetricsArguments `alloy:"debug_metrics,block,optional"` TLS otelcol.TLSClientArguments `alloy:"tls,block,optional"` Endpoint string `alloy:"endpoint,attr"` Port int `alloy:"port,attr,optional"` // default: 514 Network string `alloy:"network,attr,optional"` // default: "tcp", also supported "udp" Protocol config.SysLogFormat `alloy:"protocol,attr,optional"` // default: "rfc5424", also supported "rfc3164" // Whether or not to enable RFC 6587 Octet Counting. EnableOctetCounting bool `alloy:"enable_octet_counting,attr,optional"` }
Arguments configures the otelcol.exporter.syslog component.
func (Arguments) Convert ¶
func (args Arguments) Convert() (otelcomponent.Config, error)
Convert implements exporter.Arguments.
func (Arguments) DebugMetricsConfig ¶
func (args Arguments) DebugMetricsConfig() otelcolCfg.DebugMetricsArguments
DebugMetricsConfig implements exporter.Arguments.
func (Arguments) Exporters ¶
func (args Arguments) Exporters() map[pipeline.Signal]map[otelcomponent.ID]otelcomponent.Component
Exporters implements exporter.Arguments.
func (Arguments) Extensions ¶
func (args Arguments) Extensions() map[otelcomponent.ID]otelextension.Extension
Extensions implements exporter.Arguments.
func (*Arguments) SetToDefault ¶
func (args *Arguments) SetToDefault()
SetToDefault implements syntax.Defaulter.
Click to show internal directories.
Click to hide internal directories.