For the complete documentation index, see llms.txt. This page is also available as Markdown.

Concat

The Concat processor joins fields and literal strings into a single target field. Entries are combined in the order you list them, and field entries are skipped at runtime when the referenced field is absent.

Supported Telemetry Types

Logs
Metrics
Traces

A Concat instance applies to one telemetry type, chosen in Choose Telemetry Type. Add a second instance to concatenate on another signal.

Configuration

Basic Configuration

Bindplane docs - Concat - image 1

The core of the processor is the Sources list and the Target Field that receives the joined result.

Parameter
Type
Required
Default
Description

Choose Telemetry Type

Telemetry Selector

Yes

Logs

The single signal (Logs, Metrics, or Traces) this instance applies to.

Condition

OTTL Condition

No

(empty)

An OTTL condition that must be true for the processor to run. Empty applies it to every record of the selected signal.

Sources

Source rows

Yes

The ordered list of entries to concatenate. At least one entry is required. Each entry is either a Field or a Literal (see below). Drag to reorder.

Target Field Type

Enum

Yes

Attributes

Where the result is written: Attributes or Body. Logs only; Metrics and Traces always write to attributes.

Target Field

OTTL Field

Yes (Attributes) / optional (Body)

(empty)

The field that receives the concatenated result. With Body and an empty value, the whole body is replaced.

Delimiter

String

No

(single space)

The string inserted between concatenated values. Set it empty to join with no separator.

Source Entries

Each row in the Sources list is one of two kinds:

Entry type
Fields
Behavior

Field

Context (body / attributes / resource) + Key

The field's value is included; the entry is skipped at runtime when that field is absent.

Literal

Value

A raw string, inserted exactly as written. Always present.

Source Contexts by Signal

Signal
Available field contexts

Logs

body, attributes, resource

Metrics

attributes, resource

Traces

attributes, resource

body is offered for Logs only. Metrics and Traces have no body, and they always write the result to attributes (no Target Field Type choice).

Examples

Mixing fields and a literal separator

Bindplane docs - Concat - image 2

Build attributes["endpoint"] from attributes["host"], a literal :, and attributes["port"], with the delimiter set empty so the literal is the only separator. The result is host:port, written only when the referenced fields are present.

Configuration Tips

Fields vs. literals

  • Field entries are nil-guarded: if the field is missing on a record, that entry drops out and the rest still concatenate. Literals are always emitted.

  • Use the Delimiter for a separator that repeats between every entry; use a Literal entry for a one-off separator in a specific spot, and set the Delimiter empty to avoid doubling it up.

Troubleshooting

The target field isn't being written

Symptoms: Records pass through and the target field is empty or unchanged.

Solutions:

  1. Confirm at least one Field entry actually resolves on the record. If every field entry is absent, only literals are written.

  2. Check the Field entry contexts and keys against the real record shape (attributes vs resource, exact key).

  3. If a Condition is set, confirm it evaluates true for the records you expect to transform.

Standalone Processor

What Changed in This Version

This replaces the original Concat processor, which is now deprecated. Existing configurations keep using the deprecated processor until you migrate.

  • Mixed field and literal sources. Each source entry is now either a field reference or a raw literal string, in one ordered list, instead of a single shared source type.

  • Per-entry context. Each field entry chooses its own context (body / attributes / resource), rather than all sources sharing one.

  • Reorderable. Entries can be dragged to set concatenation order.

Bindplane Resources

Last updated

Was this helpful?