Splunk Search

How to add a count event on the head or title of a panel?

sfatnass
Contributor

hi

I want to add a count event on the head or title of a panel.

Using maybe a search like:

index=blabla |stats count as total

but I don't know how I can do this.

Can someone help me?

thx

Tags (4)
0 Karma
1 Solution

sfatnass
Contributor

i solved with

        <set token="sourcetype_count">$job.resultCount$</set>
      </progress>
      <cancelled>
        <unset token="sourcetype_count"></unset>
      </cancelled>

View solution in original post

0 Karma

sfatnass
Contributor

i solved with

        <set token="sourcetype_count">$job.resultCount$</set>
      </progress>
      <cancelled>
        <unset token="sourcetype_count"></unset>
      </cancelled>
0 Karma
Get Updates on the Splunk Community!

Webinar Recap | Revolutionizing IT Operations: The Transformative Power of AI and ML ...

The Transformative Power of AI and ML in Enhancing Observability   In the realm of IT operations, the ...

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...