Splunk Search

How can I show all x-axis labels , even result is zero with timechart command

nagarjuna280
Communicator

I want data for the last ten months, but few months doesn't have data,I am using
| timechart span=1mon count
then I am not able to see labels (months) with empty spaces. showing only, labels which has data.

I want all labels(months) event result is zero

Tags (2)
0 Karma
1 Solution

woodcock
Esteemed Legend

This makes no sense, filling in blank spots is fundamental to what timechart does. Take a look at this run-anywhere example that proves that it fills in gaps where there is no data:

index=_* date_minute>20 | timechart span=1m count

View solution in original post

woodcock
Esteemed Legend

This makes no sense, filling in blank spots is fundamental to what timechart does. Take a look at this run-anywhere example that proves that it fills in gaps where there is no data:

index=_* date_minute>20 | timechart span=1m count
Get Updates on the Splunk Community!

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Built-in Service Level Objectives Management to Bridge the Gap Between Service & ...

Wednesday, May 29, 2024  |  11AM PST / 2PM ESTRegister now and join us to learn more about how you can ...

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer Certification at ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...