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!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...