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!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...