Not able to filter by APM labels

My application is sending custom metric as APM label fields. I can see these fields as labels.{field-name} in Discover page. But I couldn't neither filter by these fields nor create visualisation on this. How can I use them in filtering and visualisation?

I'm using Elastic Cloud 7.3.

Answering my own question.

The fields were not listed as their type was string(default type of label fields). The aggregation I was trying to use required int/float types. I have to create custom mapping for the fields in the index template and re-populate the data to use them in the visualisation aggregation.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.