Documentation ¶
Index ¶
- Constants
- func FormatResourceLog(id string, inputs []string) Element
- func GroupByContainer(id string, inputs []string) Element
- func GroupByHost(id string, inputs []string) Element
- func GroupBySource(id string, inputs []string) Element
- func MakeGroupBys(fields ...string) string
- func New(id string, o obs.OutputSpec, inputs []string, secrets observability.Secrets, ...) []Element
- func RouteBySource(id string, inputs []string) Element
- func TransformAuditHost(id string, inputs []string) Element
- func TransformAuditKube(id string, inputs []string) Element
- func TransformAuditOpenshift(id string, inputs []string) Element
- func TransformAuditOvn(id string, inputs []string) Element
- func TransformContainer(id string, inputs []string) Element
- func TransformJournal(id string, inputs []string) Element
- type Otlp
- type Reduce
Constants ¶
View Source
const ( BaseResourceAttributes = `` /* 645-byte string literal not displayed */ ContainerResourceAttributes = `` /* 611-byte string literal not displayed */ LogRecord = `` /* 241-byte string literal not displayed */ LogRecordSeverity = ` r.severityText = .level ` BodyFromMessage = `` /* 165-byte string literal not displayed */ BodyFromInternal = ` # Create body from internal message r.body = {"stringValue": to_string!(get!(.,["_internal","message"]))} ` APILogAttributes = `` /* 1640-byte string literal not displayed */ LogAttributes = `` ContainerLogAttributes = `` /* 183-byte string literal not displayed */ NodeResourceAttributes = `` /* 443-byte string literal not displayed */ NodeLogAttributes = `` /* 491-byte string literal not displayed */ FinalGrouping = `` /* 259-byte string literal not displayed */ FinalGroupingContainers = `` /* 443-byte string literal not displayed */ // The (M)inimum (V)iable (P)roduct Labels (MVP) BackwardCompatBaseResourceAttributes = `` /* 396-byte string literal not displayed */ BackwardCompatContainerResourceAttributes = `` /* 384-byte string literal not displayed */ )
VRL for OTLP transforms by route
Variables ¶
This section is empty.
Functions ¶
func FormatResourceLog ¶
FormatResourceLog Drops everything except resource.attributes and scopeLogs.logRecords
func GroupByContainer ¶
func GroupByHost ¶
func GroupBySource ¶
func MakeGroupBys ¶
func New ¶
func New(id string, o obs.OutputSpec, inputs []string, secrets observability.Secrets, strategy common.ConfigStrategy, op Options) []Element
func RouteBySource ¶
func TransformAuditHost ¶
func TransformAuditKube ¶
func TransformAuditOpenshift ¶
func TransformAuditOvn ¶
func TransformContainer ¶
func TransformJournal ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.