The trace_parser
operator sets the trace on an entry by parsing a value from the body.
Field | Default | Description |
---|---|---|
id |
trace_parser |
A unique identifier for the operator. |
output |
Next in pipeline | The id for the operator to send parsed entries to. |
trace_id.parse_from |
trace_id |
A field that indicates the field to be parsed as a trace ID. |
span_id.parse_from |
span_id |
A field that indicates the field to be parsed as a span ID. |
trace_flags.parse_from |
trace_flags |
A field that indicates the field to be parsed as trace flags. |
on_error |
send |
The behavior of the operator if it encounters an error. See on_error. |
Several detailed examples are available here.