Thanks for the welcome back and the response. I am able to get part of the way there now.
var_set name="completed" value={escount index="index_1" query="thisField:test AND status:completed"}
| var_set name="sent" value={escount index="index_1" query="thisField:test AND status:sent"}
| math {string value={var "completed"} value=" / " value={var "sent"}}
However, if I want to restrict the result from the queries to the last 24 hours it won't work. How can I apply the timefilter that i specified in my original post?
One thing that is not obvious is the way that parameters are passed into datasources in sub-expressions. For example, the filters is implicitly sent into escount here:
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.