hello there,
there are many ways to do it in Splunk. couple of commands to consider: streamstats, detla, trendline, autoregress, accumn
look here for example: https://docs.splunk.com/Documentation/Splunk/latest/SearchReference/Trendline
As there are many other ways to do this, here is a very simplified version of what i understand you are trying to achieve:
| gentimes start=-1 increment=1m
| head 10
| eval _time = starttime
| table _time
| eval v1 = random()%10
| eval v2 = random()%10
| eval v3 = random()%10
| rename COMMENT as "the above generates data below is the solution"
| delta v1 as dv1
| delta v2 as dv2
| delta v3 as dv3
| eval alert = if(dv1 > 0 AND dv2 < 0 AND dv3 < 0,"ALERT","OK")
hope it helps
... View more