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>

View solution in original post

0 Karma
Register for .conf21 Now! Go Vegas or Go Virtual!

How will you .conf21? You decide! Go in-person in Las Vegas, 10/18-10/21, or go online with .conf21 Virtual, 10/19-10/20.