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!

Modernize your Splunk Apps – Introducing Python 3.13 in Splunk

We are excited to announce that the upcoming releases of Splunk Enterprise 10.2.x and Splunk Cloud Platform ...

New Release | Splunk Cloud Platform 10.1.2507

Hello Splunk Community!We are thrilled to announce the General Availability of Splunk Cloud Platform 10.1.2507 ...

🌟 From Audit Chaos to Clarity: Welcoming Audit Trail v2

🗣 You Spoke, We Listened  Audit Trail v2 wasn’t written in isolation—it was shaped by your voices.  In ...