Archive

Show large "0" or other display when table results are 0

andrewkenth
Communicator

I'm interested in showing a large "0" when the search results have no results. The results are in a table format.

somesearch | table col1 col2 col3

Is this possible?

Tags (2)
0 Karma

MuS
SplunkTrust
SplunkTrust

Hi andrewkenth,

Take a look at this answer http://answers.splunk.com/answers/176466/how-to-use-eval-if-there-is-no-result-from-the-bas.html

Hope this helps ...

cheers, MuS

0 Karma

somesoni2
Revered Legend
.conf21 CFS Extended through 5/20!

Don't miss your chance
to share your Splunk
wisdom in-person or
virtually at .conf21!

Call for Speakers has
been extended through
Thursday, 5/20!