Hi everyone,
I try to add a control component to my dashboard to list and filter on the cluster.name field.
Checked in discover, the field exist and is filled :
Can you con share the definition of that Data View called .monitoring-es-8-mb and ideally also confirm the mapping of the cluster.name field on the indices that are included in that Data View?
The cluster.name field is a runtime field, so it does not appears in the index mapping. Perhaps it is not possible to fill a dashboard control with a runtime field content. For information, i added another control "cluster.id", and when this one is selected, cluster name control is filled....
Dashboard Controls accept runtime fields. You can check this easily with the Flights sample dataset by creating a simple runtime field that emits any of the existing fields.
My only remaining idea is whether the runtime field is throwing errors that Kibana is not properly capturing.
I did a test in 8.14.3 with the Flights dataset and a code like yours to define a new test field:
First, without the comment, I could create a dashboard with the controls that work correctly.
Then, as I described above, I commented on one of the keys to force the field to fail. The control showed an error, not really explaining anything, but an error nonetheless.
Thank you Jsanz,
After several tests, it appears that 3 clusters ids were not setted and "valued" in the runtime field map.
Adding these elements resolve my issue....
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.