I have installed latest version of python agent, apm-server & ELK stack. But i am unable to find the service in APM dashboard. I can see the below error log in apm-server logs:
2020-07-29T10:26:27.692Z ERROR [request] middleware/log_middleware.go:95 404 page not found {"request_id": "9f3a51bb-1e2b-4f82-ae8d-024258c4fc18", "method": "POST", "URL": "/v1/transactions", "content_length": 1765, "remote_address": "127.0.0.1", "user-agent": "elasticapm-python/2.0.0", "response_code": 404, "error": "404 page not found"}
It looks like you're using an incompatible combination of the Python agent and APM Server version. I suggest updating to the latest Python agent version.
Can you try uninstalling and reinstalling the python agent? The reason we think you may be on an old version is that the error is showing from a /v1/transactions URL -- modern versions of the agent send to /intake/v2/events.
pip freeze from inside your app's virtualenv would also be useful.
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.