Splunk Search

timechart overlay

c799651
Explorer

Hi

 

I have this search which graphs calls to phone numbers

index=myindex sourcetype=mysource Number IN (5551,5555,55557,3249,2850,3353,6150)
| timechart span=1h count by Number

 

I have a different search that returns bad calls.

 

index=myindex sourcetype=mysource "1 4 3 1"
| stats count as BAD

I want to overlay the count of bad calls from search 2 on the timechart from search one

Labels (1)
0 Karma

c799651
Explorer

Thanks. The data is call records for phones calls.   Every call record has a  phone number  (which is a defined field) so in the first query  (using the IN) I'm looking for a few phone numbers that belong to a customer. The records contain details of call results. A call which has been blocked will have a string "1 4 3 1" (not a defined field).  So I want to show a graph of the  calls to the phone numbers (which the first query above does) and then overlay the blocked calls.  Only a small number of calls are blocked (contain "1 4 3 1") .

0 Karma

ITWhisperer
SplunkTrust
SplunkTrust

Your overlay should have the same x-axis as your main data, in your case this appears to be _time from the first query but that doesn't appear in your second query, so you would need to fix that. It isn't clear whether "1 4 3 1" is also a Number or a different field, nor whether BAD numbers are mutually exclusive with Numbers in your IN list. Please can you describe your data and what you are trying to achieve a bit more clearly

0 Karma
Get Updates on the Splunk Community!

Data Management Digest – December 2025

Welcome to the December edition of Data Management Digest! As we continue our journey of data innovation, the ...

Index This | What is broken 80% of the time by February?

December 2025 Edition   Hayyy Splunk Education Enthusiasts and the Eternally Curious!    We’re back with this ...

Unlock Faster Time-to-Value on Edge and Ingest Processor with New SPL2 Pipeline ...

Hello Splunk Community,   We're thrilled to share an exciting update that will help you manage your data more ...