Splunk Search

Is it possible in search to return leading and trailing results surrounding each match similar to -C function in grep?

mfjones65
New Member

Is it possible in a SPLUNK search to return a number of leading and trailing results surround each match similar to the "-C" function in grep?

Tags (2)
0 Karma

pradeepkumarg
Influencer
0 Karma

mfjones65
New Member

Thank you. The link was helpful.

0 Karma
Get Updates on the Splunk Community!

Building Reliable Asset and Identity Frameworks in Splunk ES

 Accurate asset and identity resolution is the backbone of security operations. Without it, alerts are ...

Cloud Monitoring Console - Unlocking Greater Visibility in SVC Usage Reporting

For Splunk Cloud customers, understanding and optimizing Splunk Virtual Compute (SVC) usage and resource ...

Automatic Discovery Part 3: Practical Use Cases

If you’ve enabled Automatic Discovery in your install of the Splunk Distribution of the OpenTelemetry ...