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!

Where Innovation Takes Flight: The Splunk4Aviation Flight Sim Lands at .conf26

If you hear someone at .conf26 shouting "gear down, GEAR DOWN" across the show floor, you have found us.  The ...

Turn Cisco Telemetry Into Action with Cisco Data Fabric, powered by the Splunk ...

The surge in machine data is already hitting enterprise budgets, and the agentic era will only intensify it. ...

Persistent Queue at TcpOut — One of Splunk's Most Practical Features

Splunk introduced persistent queueing at the tcpout layer as one of the most practical resilience features in ...