Get environment id on monitored host

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