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!

Index This | When is October more than just the tenth month?

October 2025 Edition  Hayyy Splunk Education Enthusiasts and the Eternally Curious!   We’re back with this ...

Observe and Secure All Apps with Splunk

  Join Us for Our Next Tech Talk: Observe and Secure All Apps with SplunkAs organizations continue to innovate ...

What’s New & Next in Splunk SOAR

 Security teams today are dealing with more alerts, more tools, and more pressure than ever.  Join us for an ...