Splunk Search

count value per minute and then sum the count per hour

mmdacutanan
Explorer

I have the query that gives me the results I need. I just wanted to ask the gurus out here to look at my SPL and if there is a more efficient way to do it then I'd love to hear it. 😃 Thanks in advance!

Here's the SPL:

index=abc (sourcetype=abc_MainReportLog  "Entered Phone Number" Phone!=1234567890) OR ( sourcetype=abc_core_MainReportLog "\|RemoteApplicationData\|" VH_ICMUUI_CALLVARIABLE3!=1234567890 CV7=*)
| rename CALLVARIABLE3 as Phone
| bucket _time span=1m
| stats dc(CallID) as Count by _time Phone CV7
| where Count >=2
| timechart span=1h sum(Count) as Total
| fillnull value=0
Tags (1)
0 Karma
Get Updates on the Splunk Community!

Splunk Decoded: Service Maps vs Service Analyzer Tree View vs Flow Maps

It’s Monday morning, and your phone is buzzing with alert escalations – your customer-facing portal is running ...

What’s New in Splunk Observability – September 2025

What's NewWe are excited to announce the latest enhancements to Splunk Observability, designed to help ITOps ...

Fun with Regular Expression - multiples of nine

Fun with Regular Expression - multiples of nineThis challenge was first posted on Slack #regex channel ...