Using the example search:
testId=1 | stats count(sessionIDs)
that returns a single value, I'd like to present it in a horizontal bar chart as a progress bar for a test we're running.
If I use a "by" statement the chart works, (ex: count BY experienceID), but I want the total count as the only number charted.
I'm planning to make the max value of the chart the sessions we need before the test ends.
show some sample events and the a mockup of the desired visualization. I do not get it.
Try this
.... | eval x="" | stats count(sessionIDs) as cnt by x