Getting Data In

How to extract a multi-line stack dump into a single event?

tmarlette
Motivator

I have a sourcetype that requires "SHOULD LINEMERGE=False" and I'm attempting to break out a multi-line event in that sourcetype.

Basically, I'm attempting to capture the entire 'stack dump' as a single event in splunk. I thought line breaker would be a good method, however reading the documentation, it may not be a good fit.

Does anyone have any ideas on how to extract a multi-line stack dump into a single event?

This is an example of a dump:

alt text

0 Karma

lguinn2
Legend

You could put the following in props.conf

[yoursourcetypehere]
SHOULD_LINEMERGE=false
BREAK_ONLY_BEFORE=-- Memory Info Start --
0 Karma
Get Updates on the Splunk Community!

Splunk MCP & Agentic AI: Machine Data Without Limits

  Discover how the Splunk Model Context Protocol (MCP) Server can revolutionize the way your organization ...

Finding Based Detections General Availability

Overview  We’ve come a long way, folks, but here in Enterprise Security 8.4 I’m happy to announce Finding ...

Get Your Hands Dirty (and Your Shoes Comfy): The Splunk Experience

Hands-On Learning and Technical Seminars  Sometimes, you just need to see the code. For those looking for a ...