Splunk Search

Compare results to previous results?

ksharma7
Path Finder

If say I have data from December to march in csv every 5 min , and no data from Marc to April.if say in month of nay i got correct data again. Now i want to compare count of success in this hour to sane hour onw, two and three weeks back frim same date but un month of December say how to do ut

Tags (2)
0 Karma

to4kawa
Ultra Champion

sample:

| gentimes start=12/01/20 end=05/01/21
| makecontinuous span=1h starttime
| eval _time=starttime, month=strftime(starttime,"%B") , counts=random() % 100, date=strftime(starttime,"%T")
| bin span=1h _time
| chart sum(counts) by date month
0 Karma
Get Updates on the Splunk Community!

CX Day is Coming!

Customer Experience (CX) Day is on October 7th!! We're so excited to bring back another day full of wonderful ...

Strengthen Your Future: A Look Back at Splunk 10 Innovations and .conf25 Highlights!

The Big One: Splunk 10 is Here!  The moment many of you have been waiting for has arrived! We are thrilled to ...

Now Offering the AI Assistant Usage Dashboard in Cloud Monitoring Console

Today, we’re excited to announce the release of a brand new AI assistant usage dashboard in Cloud Monitoring ...