Alerting

[Splunk 6.0.2] Unexpected Line Breaks in Raw Output

niall_munnelly
Path Finder

I'm working on a script to go with some Splunk alerts, and the CSV generated has a line break right in the middle of the "_si" field:

_bkt,_cd,_indextime,_raw,_serial,_si,_sourcetype...
main~2177~FDEAEF09-6590-4DEE-AE2F-1863332506D8,2177:295465158,1397158816,Apr 10 14:40:15 chmgl9mn15 nmunnel: multipathd: mark as failed,0,chmgl9mn10
main,syslog...

So, for some reason, this space between "chmgl9mn10 main" becomes a line-break, which is messing up the data (and script). Splunk doesn't appear to break the spaces in other fields, so maybe it's something weird about that specific "_si" key.

Have any of you seen this before? Is there something I can do that doesn't involve fragile regex kludges in my script?

Thanks very much.

0 Karma

mortenst
Loves-to-Learn Lots

I'm using v.6.1.3 and have the exact same problem.,

0 Karma
Get Updates on the Splunk Community!

Index This | Why did the turkey cross the road?

November 2025 Edition  Hayyy Splunk Education Enthusiasts and the Eternally Curious!   We’re back with this ...

Enter the Agentic Era with Splunk AI Assistant for SPL 1.4

  🚀 Your data just got a serious AI upgrade — are you ready? Say hello to the Agentic Era with the ...

Feel the Splunk Love: Real Stories from Real Customers

Hello Splunk Community,    What’s the best part of hearing how our customers use Splunk? Easy: the positive ...