Splunk Search

How do you stop displaying a timechart line when value is 0?

dfofie
New Member

I'm trying to display a timechart based on count by a type.

But, for a certain type, the value will always be 0 for a certain time.

is it possible to tell Splunk to simply stop displaying the line from a certain datetime ? or when the count is 0 ?

The screenshot below shows the different lines and the part I marked is supposed to be hidden.

alt text

0 Karma

Vijeta
Influencer

How about adding , where count>0 in your query

0 Karma

dfofie
New Member

that doesn't work for me. When I enter where count>0 nothing appends. Not sure if this where clause is being taken in account.

0 Karma
Get Updates on the Splunk Community!

Index This | Why did the turkey cross the road?

November 2025 Edition  Hayyy Splunk Education Enthusiasts and the Eternally Curious!   We’re back with this ...

Enter the Agentic Era with Splunk AI Assistant for SPL 1.4

  🚀 Your data just got a serious AI upgrade — are you ready? Say hello to the Agentic Era with the ...

Feel the Splunk Love: Real Stories from Real Customers

Hello Splunk Community,    What’s the best part of hearing how our customers use Splunk? Easy: the positive ...