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!

Updated Team Landing Page in Splunk Observability

We’re making some changes to the team landing page in Splunk Observability, based on your feedback. The ...

New! Splunk Observability Search Enhancements for Splunk APM Services/Traces and ...

Regardless of where you are in Splunk Observability, you can search for relevant APM targets including service ...

Webinar Recap | Revolutionizing IT Operations: The Transformative Power of AI and ML ...

The Transformative Power of AI and ML in Enhancing Observability   In the realm of IT operations, the ...