Splunk Search
Highlighted

How to compare same period with timewrap

Path Finder

I want to compare statistics of events between 2 weeks, day per day.

I count events for every day in real time but when I compare last day versus first day delta is not coherent
For example, if my request is launched at 10am, it compares
For today, the number of events between 0 to 10am and for the same day last week, the number of events between 10am to midnight.

I want to compare for today, the number of events between 0 to 10am and for the same day last week, the number of events between 0 to 10am

mysearch | timechart count as sendOK | timewrap w | eval delta=round((sendOK_latest_week - sendOK_1week_before)*100/sendOK_latest_week,2) ." %" | table _time delta

How to compare the same period?

0 Karma