Splunk Search

How to compare 2 Search's percentage results?

EBVanguard
Engager

Hey Team, 
I am trying to generate a search which returns a complete set of results from today and then compares it with a search whereby the results only came in between 4-5pm. 
I then want to work out the precentage of results which came in between 4-5pm.

So far I have:

EBVanguard_0-1663332163135.png

 

With the **** being where I think I need to timeframe search?

Thanks!

Labels (3)
0 Karma
1 Solution

maciep
Champion

So maybe just this then?

| stats count(eval(date_hour="16")) as ycount, totalcount

 

View solution in original post

0 Karma

maciep
Champion

So maybe just this then?

| stats count(eval(date_hour="16")) as ycount, totalcount

 

0 Karma
Get Updates on the Splunk Community!

Enter the Splunk Community Dashboard Challenge for Your Chance to Win!

The Splunk Community Dashboard Challenge is underway! This is your chance to showcase your skills in creating ...

.conf24 | Session Scheduler is Live!!

.conf24 is happening June 11 - 14 in Las Vegas, and we are thrilled to announce that the conference catalog ...

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...