Currently, I have a requirement where I need to create an alert that checks for data flow for the last 1 week and based on that create an alert for max and min. threshold range.
To be more specific:
Netflow data that is currently configured in our Splunk infra is unstable and very often stops sending the log data to Splunk Infra or the eps of the log data drops drastically.
In order to keep a track on the data flow, I am creating an alert whose main job is to trigger an alert whenever the eps of Netflow data drops drastically.
For ex: The average eps of Netflow data should be around 60000 eps for the last 1 week and based on that I need to write a SPL wherein I need to calculate the eps of last 1 week and based on that need to generate an alert when the eps drops below the average eps.