Splunk Search

Timechart show no 'zero' values

mkelderm
Path Finder

My query shows only values when it finds an event. I want also the 0 events per span in my chart. I thought this was working in Splunk> 5.x

index=prd_access sourcetype=access:web:agw earliest=-14d "No ESP" | timechart span=1d count

Note: We are running Splunk 6.0

Regards,

Marc

Tags (1)
0 Karma
1 Solution

mkelderm
Path Finder

Use fillnull 🙂

index=prd_access sourcetype=access:web:agw earliest=-14d "No ESP" | fillnull value=NoEsp| timechart span=1d count as NoEsp

View solution in original post

mkelderm
Path Finder

Use fillnull 🙂

index=prd_access sourcetype=access:web:agw earliest=-14d "No ESP" | fillnull value=NoEsp| timechart span=1d count as NoEsp

Get Updates on the Splunk Community!

Detecting Remote Code Executions With the Splunk Threat Research Team

REGISTER NOWRemote code execution (RCE) vulnerabilities pose a significant risk to organizations. If ...

Observability | Use Synthetic Monitoring for Website Metadata Verification

If you are on Splunk Observability Cloud, you may already have Synthetic Monitoringin your observability ...

More Ways To Control Your Costs With Archived Metrics | Register for Tech Talk

Tuesday, May 14, 2024  |  11AM PT / 2PM ET Register to Attend Join us for this Tech Talk and learn how to ...