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"
Get Updates on the Splunk Community!

Community Content Calendar, November Edition

Welcome to the November edition of our Community Spotlight! Each month, we dive into the Splunk Community to ...

October Community Champions: A Shoutout to Our Contributors!

As October comes to a close, we want to take a moment to celebrate the people who make the Splunk Community ...

Stay Connected: Your Guide to November Tech Talks, Office Hours, and Webinars!

What are Community Office Hours? Community Office Hours is an interactive 60-minute Zoom series where ...