hi,
I want to present the plots for documents with "group"==a, and I only want to present documents with the latest date of the time range applied by the dashboard.
How can I do this?
here is my script:
the %context%: true and %timefield%: Time part defines that the ES query used, will be augmented with the filters and query applied to the query bar and the time range used.
If you for example type a search on the query bar like: group : "A" this will filter out all documents with that specific group value also on your vega visualization.
If you need the top X values sorted by the latest date, you can apply a sort operation on the vega ES query on the timefield, something like "sort" : [{ "@timestamp" : {"order" : "desc"}}],
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.