@fadjar340, I have changed as you mentioned but still grifana calculate derivative at 00:00 which is 5:30 at my time

Above attached are my graph and my alert

So I am ingesting data on hourly bases in elasticsearch and want to find any peaks. So I am taking derivative of past 24 hrs(frequency of logs varies according to time) for bigger dataset. However, here grifana calculating derivative from 00:00 to 23:59 which is making my current day derivative really low and hence alarm is triggering

What I want is to calculate derivative like current time -24 to current_time which is not happening even when using above mentioned method.

How can I achieve this??

Thanks in advance