Hi, im indexing some data and I want to know the ratio of documents that have isCompliant as True. I visualized the data as count over time and I see documents.
But when I try to use filter ratio with the same filter as numerator, it stays at 0. Even when I choose * as numerator and denominator it stays at 0. (Shouldnt it be 1?)
Unless you set the "Time range mode" in TSVB to "entire time range", you will only see the last time interval in gauges. Since your visualization says the interval is 10 minutes, you will only see the last 10 minutes in the gauge.
Okay. It is important to note that Filter Ratio does not use KQL syntax, it uses Lucene syntax. They are similar but not identical. If your field is a boolean, then you need to use isCompliant: true instead of isCompliant: True.
If that doesn't solve the issue, then it would be helpful to see an example document that you are trying to match against.
The field is not boolean, it has three possible values for now. True, False and nopipeline. I tried the same query with a boolean field and the query syntax as suggested but it is still not working.
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.