Splunk Search

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

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

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

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