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!

Introducing Splunk Enterprise 9.2

WATCH HERE! Watch this Tech Talk to learn about the latest features and enhancements shipped in the new Splunk ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...