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!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...