Question

How do I configure logforwarding to Datadog for a DOC app

I have added two log forward destinations for a sample-app (fork) in Go based on the DOC example.

The PaperTrail one works, but I cannot get the Datadog destination to work and the DOC documentation is a bit sparse.

I have added an API key, but on the DataDog side I need to do some configuration as well, but I cannot deduct how the DOC app integrates and present itself and DOC is not listed as an option.

The documentation mentions: http-intake.logs.datadoghq.com

But my Datadog plan is EU based - is that the problem?

http-intake.logs.datadoghq.eu instead of http-intake.logs.datadoghq.com


Submit an answer
Answer a question...

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Bojan D
DigitalOcean Employee
DigitalOcean Employee badge
October 16, 2021
Accepted Answer

Hello,

If you use https://http-intake.logs.datadoghq.eu as the endpoint value and add the API key it should work.