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?
Below post should get your started
http://answers.splunk.com/answers/150509/how-to-get-events-around-identified-event
Thank you. The link was helpful.