Getting Data In

Splunk Otel Multiline Configs

dgill
Loves-to-Learn

I'm using the splunk-otel-collector, and attempting to get multi-line java exceptions into a standardly formatted event. Using the example, my values file contains

 

 

 

 

     multilineConfigs:
        - namespaceName:
            value: example
            useRegexp: true
          firstEntryRegex: ^[^\s].*
          combineWith: ""

 

 

The rendered configMap contains

 

        - combine_field: attributes.log
          combine_with: ""
          id: example
          is_first_entry: (attributes.log) matches "^[^\\s].*"
          max_log_size: 1048576
          output: clean-up-log-record
          source_identifier: resource["com.splunk.source"]
          type: recombine

 

With that config, the logs continue to split . Then I change the value to

 

 

 

combineWith: "\t"

 

 

 

 

the following happens with the logs:

 

Screenshot 2024-10-08 at 2.36.59 PM.png

 

Has anyone experienced this and worked around it?

0 Karma

PaulPanther
Motivator

If you use 

combineWith: "\t"

the log entries are correctly splitted or not?

Could you remove the combinedWith parameter from the config and deploy it again?

0 Karma
Get Updates on the Splunk Community!

Splunk Observability for AI

Don’t miss out on an exciting Tech Talk on Splunk Observability for AI!Discover how Splunk’s agentic AI ...

Splunk Enterprise Security 8.x: The Essential Upgrade for Threat Detection, ...

Watch On Demand the Tech Talk on November 6 at 11AM PT, and empower your SOC to reach new heights! Duration: ...

Splunk Observability as Code: From Zero to Dashboard

For the details on what Self-Service Observability and Observability as Code is, we have some awesome content ...