Dashboards & Visualizations

Results of Bar chart for no events happened ?

sumanth_isac
Path Finder

Hi,
The chart in search app shows events when did it happen.
eg. 1 bar = 1 hour

If there are no events in next hour no bar.
When there is no event in hour i want the bar to be in different colour. Is that possible ?

Tags (1)
0 Karma

jonuwz
Influencer

Yes.

Assuming that you do

... | timechart span=1h count 

Add this to your search (after the timechart):

... | eval filler=if(isnull(count),1,NULL)

then change your column graph to stacked.

'filler' and 'count' will have different colors, and either 'filler' or 'count' will be displayed because only 1 is not null.

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 ...