Skip to main content
This information is for Chronosphere Telemetry Pipeline, which is a standalone product separate from Chronosphere Observability Platform.
The multiline join processing rule combines multiple logs into a single log by looking for repeating patterns in log data.

Configuration parameters

Use the parameters in this section to configure the . The Telemetry Pipeline web interface uses the items in the Name column to describe these parameters. Pipeline configuration files use the items in the Key column as YAML keys.

Examples

Using the multiline join processing rule lets you group related logs together. You can use this rule to combine data that was inadvertently split into multiple parts, like a stack trace where each line of the message was assigned to its own log.

JSON logs

For example, given this sample log data:
A processing rule with the Source key value inventory and the Regex value fruit returns the following result:
This rule searched for logs in the inventory key that contained the string fruit, then combined each of those logs with any subsequent logs that didn’t contain the string fruit. After the rule found another log that contained the string fruit, it started over and repeated the same pattern.

Raw logs

To combine raw logs, always use the value log for Source key.
You can also use the multiline join rule to combine raw logs. For example, given this sample log data:
A processing rule with the Source key value log and the Regex value exception returns the following result:
Chronosphere Telemetry Pipeline assigned a new log key to each raw event. After that transformation, this rule searched for logs with the log key that contained the string exception, then combined each of those logs with any subsequent logs that didn’t contain the string exception. After the rule found another log that contained the string exception, it started over and repeated the same pattern.