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!

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...

Tech Talk | Elevating Digital Service Excellence: The Synergy of Splunk RUM & APM

Elevating Digital Service Excellence: The Synergy of Real User Monitoring and Application Performance ...

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