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

Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.
Get Updates on the Splunk Community!

Thanks for the Memories! Splunk University, .conf25, and our Community

Thank you to everyone in the Splunk Community who joined us for .conf25, which kicked off with our iconic ...

Data Persistence in the OpenTelemetry Collector

This blog post is part of an ongoing series on OpenTelemetry. What happens if the OpenTelemetry collector ...

Introducing Splunk 10.0: Smarter, Faster, and More Powerful Than Ever

Now On Demand Whether you're managing complex deployments or looking to future-proof your data ...