23 Mar 2018 02:45 PM - last edited on 19 Nov 2021 12:47 PM by MaciejNeumann
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.
26 Mar 2018 07:06 AM
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
26 Mar 2018 03:46 PM
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.
26 Mar 2018 04:39 PM
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.
27 Mar 2018 12:16 PM
@Julius L., thanks for the tip.
05 Apr 2018 07:59 AM
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.