Splunk Search

Display result from search result

jangid
Builder

I want to precise my search.
Initially I want to run a custom search and based on this search I want to display all result within time range.

e.g.
sourcetype="TAFC_LOG_LINE" COREDUMP_BEGIN OR COREDUMP_END | reverse

Above search will return something like this

1 6/12/12 12:23:46.278 PM E0612 12:23:46.278826 62213 tafc_logger_c.cpp:45] jrunADebug.c:6689 COREDUMP_BEGIN
2 6/12/12 12:23:46.281 PM E0612 12:23:46.281303 62213 tafc_logger_c.cpp:45] jrunADebug.c:6694 COREDUMP_END

Now I want to search all results between above two events.

Thanks
Manoj

Tags (2)
0 Karma
1 Solution

Ayn
Legend

Use transaction:

sourcetype="TAFC_LOG_LINE" | transaction startswith="COREDUMP_BEGIN" endswith="COREDUMP_END"

View solution in original post

Ayn
Legend

Use transaction:

sourcetype="TAFC_LOG_LINE" | transaction startswith="COREDUMP_BEGIN" endswith="COREDUMP_END"
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Vibe-coding, AI, and Splunkcraft: Highlights from the .conf26 Builder Bar

If you stopped by the Builder Bar at .conf26, thank you! This year, we brought ...

Thanks for the Memories: .conf26 Took Learning to New Heights

Thank you, Splunk Community, for making .conf26 in Denver one for the books. From packed Splunk University ...

Best Practices: Splunk auto adjust pipeline queue

When you enable autoAdjustQueue in Splunk, maxSize should be understood as the queue size Splunk starts with ...