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!

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!

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

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...