I wonder if there any way to create dynamic title in the TVSB visualization using Markdown and Handlebars. This visualization is a part of the dashboard. Whenever I filter particular field: title.keyword is ... this title should appear in the visuzalization. I want to automate the process.
I can't find a way to do that in TSVB unfortunately. You can achieve something if you know that particular field by configuring a groupBy aggregation (top 1) and use a markdown like:
Title: {{#each _all}}{{label}}{{/each}}
This works until you have at least one filter enabled, but when your filter is disabled/removed then this will just show the top most label.
There is no way to get the count of returned groups to display something else instead.
You can try with Vega a similar approach, I'm pretty sure you can get the same information but you can certainly do more math than the one available in TSVB markdown
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.