I have an instance of DT Managed, set up integration with Elasticsearch using PUT method and pointed to an index specially created for this purpose, but no data appear in Elasticsearch. How to check where the problem is?
The topic isn't addressed in documentation at all.
Solved! Go to Solution.
Did you check that your elastic server is reachable from your Dynatrace Managed server? Is your elastic server also running in your own datacenter or in the cloud? Did you define a proxy in Dynatrace Managed
My Elasticsearch server is in the same data center (no cloud involved) and I can access the server from the machine where DT Managed server is installed. Why do I need a proxy and what for? I can't see any setting for a proxy in the User session export screen.
Zbysek, if you use http proxy for the dynatrace server it's used globally for all outbound communication from dynatrace server. So if you have proxy defined, Dynatrace server will use the proxy to connect to the Elasticsearch server. You have to define our elasticsearch server in the no_proxy environment variable in this case.
Yes, a default proxy is also used for sending data to Elasticsearch.
If sending fails, Dynatrace will show a yellow notification bar to in the UI for users with admin rights with more information about the problem, this should allow to troubleshoot.
And documentation for this is in the works, will be published soon.
Another improvement that we plan for the upcoming weeks is to be able to test sending directly in the settings-page.