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
Did you miss .conf21 Virtual?

Good news! The event's keynotes and many of its breakout sessions are now available online, and still totally FREE!