# How to check that User session export from DT Managed to Elasticsearch is working?

**URL:** <https://community.dynatrace.com/t/how-to-check-that-user-session-export-from-dt-managed-to-elasticsearch-is-working/11645>\
**Category:** Real User Monitoring\
**Tags:** integrations, dynatrace-managed, user-sessions\
**Created:** [March 23, 2018, 2:45pm UTC](https://community.dynatrace.com/t/how-to-check-that-user-session-export-from-dt-managed-to-elasticsearch-is-working/11645 "2018-03-23T14:45:23Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![zbyszek\_cybulsk](https://avatars.discourse-cdn.com/v4/letter/z/dec6dc/32.png) [@zbyszek\_cybulsk](https://community.dynatrace.com/u/zbyszek_cybulsk)\
**Post date:** [March 23, 2018, 2:45pm UTC](https://community.dynatrace.com/t/how-to-check-that-user-session-export-from-dt-managed-to-elasticsearch-is-working/11645/1 "2018-03-23T14:45:23Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![wolfgang\_beer](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/wolfgang_beer/32/14717_2.png) [@wolfgang\_beer](https://community.dynatrace.com/u/wolfgang_beer)\
**Post date:** [March 26, 2018, 6:06am UTC](https://community.dynatrace.com/t/how-to-check-that-user-session-export-from-dt-managed-to-elasticsearch-is-working/11645/2 "2018-03-26T06:06:09Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![zbyszek\_cybulsk](https://avatars.discourse-cdn.com/v4/letter/z/dec6dc/32.png) [@zbyszek\_cybulsk](https://community.dynatrace.com/u/zbyszek_cybulsk)\
**Post date:** [March 26, 2018, 2:46pm UTC](https://community.dynatrace.com/t/how-to-check-that-user-session-export-from-dt-managed-to-elasticsearch-is-working/11645/3 "2018-03-26T14:46:10Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![Julius\_Loman](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/julius_loman/32/51_2.png) [@Julius\_Loman](https://community.dynatrace.com/u/Julius_Loman)\
**Post date:** [March 26, 2018, 3:39pm UTC](https://community.dynatrace.com/t/how-to-check-that-user-session-export-from-dt-managed-to-elasticsearch-is-working/11645/4 "2018-03-26T15:39:29Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![zbyszek\_cybuls1](https://avatars.discourse-cdn.com/v4/letter/z/76d3ee/32.png) [@zbyszek\_cybuls1](https://community.dynatrace.com/u/zbyszek_cybuls1)\
**Post date:** [March 27, 2018, 11:16am UTC](https://community.dynatrace.com/t/how-to-check-that-user-session-export-from-dt-managed-to-elasticsearch-is-working/11645/5 "2018-03-27T11:16:31Z")

</div>

[@Julius L.](https://answers.dynatrace.com/users/16467/view.html), thanks for the tip.

---

<div class="post-metadata">

**Author:** ![dominik\_stadler](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/dominik_stadler/32/8537_2.png) [@dominik\_stadler](https://community.dynatrace.com/u/dominik_stadler)\
**Post date:** [April 5, 2018, 6:59am UTC](https://community.dynatrace.com/t/how-to-check-that-user-session-export-from-dt-managed-to-elasticsearch-is-working/11645/6 "2018-04-05T06:59:06Z")

</div>

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.
