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?

Labels (1)
0 Karma

PaulPanther
Builder

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!

Take Your Breath Away with Splunk Risk-Based Alerting (RBA)

WATCH NOW!The Splunk Guide to Risk-Based Alerting is here to empower your SOC like never before. Join Haylee ...

Industry Solutions for Supply Chain and OT, Amazon Use Cases, Plus More New Articles ...

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Enterprise Security Content Update (ESCU) | New Releases

In November, the Splunk Threat Research Team had one release of new security content via the Enterprise ...