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!

Announcing Modern Navigation: A New Era of Splunk User Experience

We are excited to introduce the Modern Navigation feature in the Splunk Platform, available to both cloud and ...

Preparing your Splunk Environment for OpenSSL3

The Splunk platform will transition to OpenSSL version 3 in a future release. Actions are required to prepare ...

Self-Healing Pipeline Is Now Generally Available: AI-Powered CIM Compliance

Maintaining data integrity across security and analytics pipelines is an ongoing challenge. Data ...