Question regarding search results surrounding a search query
Posted: Tue Apr 15, 2025 5:57 am
Hi,
It is often necessary to display the preceding and following 5 lines of a search query, for example.
Is there an easier way than filtering by host and time span after I have found the corresponding query string?
I would also need something like this for alerting.
That not only the line with the matching search query is in the alert e-mail but also 5 lines before and after it in the log file
Thanks,
Marcel
It is often necessary to display the preceding and following 5 lines of a search query, for example.
Is there an easier way than filtering by host and time span after I have found the corresponding query string?
I would also need something like this for alerting.
That not only the line with the matching search query is in the alert e-mail but also 5 lines before and after it in the log file
Thanks,
Marcel