# Get environment id on monitored host

**URL:** <https://community.dynatrace.com/t/get-environment-id-on-monitored-host/19984>\
**Category:** Real User Monitoring\
**Tags:** mobile-monitoring, oneagent, java\
**Created:** [March 14, 2019, 12:00am UTC](https://community.dynatrace.com/t/get-environment-id-on-monitored-host/19984 "2019-03-14T00:00:12Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![ridafathi](https://avatars.discourse-cdn.com/v4/letter/r/49beb7/32.png) [@ridafathi](https://community.dynatrace.com/u/ridafathi)\
**Post date:** [June 10, 2024, 2:27pm UTC](https://community.dynatrace.com/t/get-environment-id-on-monitored-host/19984/5 "2024-06-10T14:27:37Z")

</div>

Hello, I noticed your reply, and I see that many people are happy with it. However, my question is: where do I find this “ **your-environment-id** ” ?

I intend to send data from the Fluentd agent to Dynatrace. Upon investigation, I found that the URL should resemble this: "endpoint: “https://\<dynatrace-domain\>/e/\<environment-id\>/api/v2/logs/ingest”

NOTE : I already have an ActiveGate that is well configured and connected

---

_[View the full topic](https://community.dynatrace.com/t/get-environment-id-on-monitored-host/19984)._
