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!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...