I would like to populate a single value chart with calculation from tokens and nothing from a search. This works but would like to remove the index=nmi_main | head 1 which is not working.
<query>index=nmi_main | head 1
| eval totalMinutes=$totalSessionsToken$ * $minutesSavedValueToken$
| table totalMinutes
Use the | makeresults command as the generating command. That makes a single result event (with options for more) which has current _time and not a whole lot else.
View solution in original post