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!

Dashboards: Hiding charts while search is being executed and other uses for tokens

There are a couple of features of SimpleXML / Classic dashboards that can be used to enhance the user ...

Splunk Observability Cloud's AI Assistant in Action Series: Explaining Metrics and ...

This is the fourth post in the Splunk Observability Cloud’s AI Assistant in Action series that digs into how ...

Brains, Bytes, and Boston: Learn from the Best at .conf25

When you think of Boston, you might picture colonial charm, world-class universities, or even the crack of a ...