- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
tp29
Engager
10-09-2024
08:09 AM
Hi all,
New to splunk, running out of ideas, please help!
I have created a search to show:
| bin span=10m _time
| stat count by _time
This gives me two columns - the time interval in 10 minutes bins, and the number of results within that bin.
What I would like to do is expand on this search and show the % of bins over a time range that have > =10 results
cheers
1 Solution
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ITWhisperer

SplunkTrust
10-09-2024
08:27 AM
| bin span=10m _time
| stat count by _time
| stats count(eval(count>=10)) as count10plus count as total
| eval percent=100*count10plus/total
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ITWhisperer

SplunkTrust
10-09-2024
08:27 AM
| bin span=10m _time
| stat count by _time
| stats count(eval(count>=10)) as count10plus count as total
| eval percent=100*count10plus/total
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
tp29
Engager
10-10-2024
01:01 AM
That works perfectly.
Thank you very much 🙏
