Getting Data In

How to line break this structured log?

afamoyib
Path Finder

I have a script generating an output, however all my output is being registered as one event. I am trying to break each line into an. I tried using the line breaker with regex for end of line. But that fails.

Example of the output.

Status                    Tag                    DisplayName
------                    ----                   -----------
Quit                      jflower                James
Terminated                wpunch                 William
Quit                      madams                 Mark
Terminated                jtota                  Jeff
Quit                      wbaker                 Baker
Quit                      sjohson                Shawn

I am trying to extract the header and

0 Karma

afamoyib
Path Finder

It was not breaking properly because of how powershell formats it output. I converted the output to csv and then ingested it into splunk. It worked like a charm

0 Karma

woodcock
Esteemed Legend
0 Karma

richgalloway
SplunkTrust
SplunkTrust

What sourcetype did you specify for this input?
The default LINE_BREAKER setting is [\r\n] which should break events after EOL.
Please share your props.conf settings.
Your posting was cut off. What are you trying to extract with the header?

---
If this reply helps you, Karma would be appreciated.
0 Karma
Get Updates on the Splunk Community!

Building Reliable Asset and Identity Frameworks in Splunk ES

 Accurate asset and identity resolution is the backbone of security operations. Without it, alerts are ...

Cloud Monitoring Console - Unlocking Greater Visibility in SVC Usage Reporting

For Splunk Cloud customers, understanding and optimizing Splunk Virtual Compute (SVC) usage and resource ...

Automatic Discovery Part 3: Practical Use Cases

If you’ve enabled Automatic Discovery in your install of the Splunk Distribution of the OpenTelemetry ...