Dashboards & Visualizations

If my search give no results ...show in Single value...If results available... then show in table with values?

priyansplunk
Engager

If my search give no results ..I want to Display Single value chart with "All is Well".If my search query produce results i want to show the table with values..Is it possible?

Tags (2)
0 Karma

woodcock
Esteemed Legend

Just add this to the end of your search:

... | appendpipe [| stats count AS message | eval message=if(message==0, "ALL IS WELL", "There is trouble up above!")]
Get Updates on the Splunk Community!

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...

Introducing Splunk Enterprise 9.2

WATCH HERE! Watch this Tech Talk to learn about the latest features and enhancements shipped in the new Splunk ...