Splunk Search

searching for specific errors

jonathanjw
New Member

Possible Duplicate:
searching for specific errors

For starters this app is amazing. I am trying to search a ton of log files for a certain error and its definitely doing its job but i'd like it to grab the very next line after the specified error is found. Is it possible to do so? Thanks, Jonathan

Tags (1)
0 Karma

woodcock
Esteemed Legend

This will do it:

... | streamstats current=f last(_raw) AS prevEvent | <your search here> | fields _raw prevEvent
0 Karma

ftk
Motivator

Duplicate question

0 Karma
Get Updates on the Splunk Community!

New Year, New Changes for Splunk Certifications

As we embrace a new year, we’re making a small but important update to the Splunk Certification ...

Stay Connected: Your Guide to January Tech Talks, Office Hours, and Webinars!

What are Community Office Hours? Community Office Hours is an interactive 60-minute Zoom series where ...

[Puzzles] Solve, Learn, Repeat: Reprocessing XML into Fixed-Length Events

This challenge was first posted on Slack #puzzles channelFor a previous puzzle, I needed a set of fixed-length ...