We have a Data View created based on the .ds-.monitoring-es* indices. We created a scripted field in that Data View that is working but as elastic says, it is deprecated.
We tried to move that scripted field into a runtime field in .monitoring-es-mb index template but we get the following error.
Unable to create template
composable template [.monitoring-es-mb] template after composition is invalid
this error message is not telling much about what you tried to do. Hence its hard to help you fixing the issue.
Can you add your configuration so that we can check that this should work?
Also: Do you have any specific reason adding this runtime field in the index template instead of adding this to the data view as you did it with your scripted field?
This is the only way we found in elastic for doing aggregations by index name.
The reason of adding a runtime field to the index template is because I didn't see the option for adding it to the data view. If there is that option, where could I find it?
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.