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!

Splunk Mobile: Your Brand-New Home Screen

Meet Your New Mobile Hub  Hello Splunk Community!  Staying connected to your data—no matter where you are—is ...

Introducing Value Insights (Beta): Understand the Business Impact your organization ...

Real progress on your strategic priorities starts with knowing the business outcomes your teams are delivering ...

Enterprise Security (ES) Essentials 8.3 is Now GA — Smarter Detections, Faster ...

As of today, Enterprise Security (ES) Essentials 8.3 is now generally available, helping SOC teams simplify ...