I'm fairly new to using Elastic/Kibana/APM and I'm trying to get custom fields to appear in the Kibana index pattern when the index comes from APM.
Using transaction.setCustomContext() I was able to add the fields I want to the transaction and those fields also show up in Kibana, but with a warning about a missing cached mapping.
I've tried adding a field to fields.yml in the APM folder and letting APM overwrite the existing one, but this did not seem to work.
How do I add my custom fields to Kibana so I can use searches on them and make graphs using those fields?
Custom context is meant to allow developers to supply rich additional context and potentially complex nested objects, but these values do not become searchable in Kibana.
Setting a tag worked, thank you very much!
Although I used transaction.setTag() instead of apm.setTag(), that function not mentioned in the Transaction API, but does work. The same is true for transaction.setCustomContext()
Is there any way to insert multiple values at the same time as tags, or does each tag required its own function call? transaction.setCustomContext() was very useful to me because I could add a large amount of entries to it at the same time.
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.