I am running Kibana 7.7.0. After upgrading to APM Server 7.7.1 (from 7.4.0) I noticed that UI filters in APM page do not work anymore: does not filter by environment, host etc.
If I look at my browser (Chrome or Firefox) dev tools I can see that requests like
return results which are not filtered according to the criteria. The strange thing is that filtering works for some time after the indexes are created for the first time: If I stop APM Server, delete all APM indexes and restart, then filtering works for "some time". Can you help me solve this?
Any page of APM UI (so under /s/myspace/app/apm#/services) is affected.
Query bar is not working: all transactions are returned and metrics (TPM, latency percentiles) are calculated by aggregating as if no query was defined. Even if a filter with a non-existing label for example, all transaction data are returned.
Same for contextual filters: e.g. Environment, Host.
Data look stored correctly on the indices: service.environment is set, labels are set, host.hostname is set.
I have just switched back to APM Server 7.4.0 and for the moment everything works well.
Hi @Vladimiro,
sorry to hear that you are experiencing these issues.
Please check the APM Server logs for any errors.
It would also be interesting to check if any of the managed indices are unhealthy or show any problems. Navigating to Management/Index Management should give you more information about the healthiness of the indices. Alternatively you could run GET apm*/_ilm/explain and check for potential issues.
Additionally I'd be interested in seeing if the APM templates are set up properly - have you customized anything related to ILM or template setup in your apm-server.yml?
For checking if the apm templates are set up as expected, you can run GET _template/apm*. This should return you a template with a mapping containing amongst others these dynamic_templates:
If everything mentioned looks ok, could you maybe provide us an example transaction document containing some of the fields you would like to query on? Please remove all sensitive information before providing a document here.
I want to point out that my issue is not that I cannot retrieve the transaction I pasted. It is probably collected amidst all the others that are not filtered out by the filters.
Hi @Vladimiro,
thanks for providing these additional details. I cannot see anything suspicious in the files you provided, so I am going to consult with some colleagues and hope we are able to come back to you soon.
@Vladimiro: can you share a screenshot of the APM UI, one where you have no filters and one where you have filters applied? Again please scrub out any sensitive information.
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.