Hi,
Some of http fields are not getting refreshed in Kibana for apm-* index pattern due to which I am unable to create visualization and dashboard. I tried refreshing the index pattern in Kibana -Management>Index Pattern and refresh field for apm index but it didnt work.
Also tried adding the field in fields.yml but no luck.
You're really close. The issue here is that http.response.headers is an object field with enabled: false, and that can't be changed after the index is created. Instead, you want to modify the index template with those changes and have them take effect when the next index is created. Assuming you're on the latest release at this time, 7.8.1, and using the default ILM setup you could take these steps:
You can also use apm-server to update the index template instead of doing the PUT request above yourself. Add these to your apm-server.yml and run setup --index-management:
I suggest adding the append_fields to your config so that when you update apm-server, these customizations are retained. More options are described in the docs.
Thanks for your reply. But I have one more question-
I have around more that 35 http.request.headers and http.response header fields which are not refreshing. So, do I need to add all those around 35 fields manually in apm-server.yml file or there is some other way to append_fields in file.. like using http.request.headers.*
It's possible to enable dynamic mappings for headers though I would only recommend this if the number of headers is reasonably bounded. Configure apm-server.yml with:
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.