Skip to content
Advertisement

instrument datadog agent by the location of logs file with datadog ansible role

I tried to enable logs collecting with datadog ansible role,

but I can’t figure out why the logs are not sent to the Datadog ui

I found an example of a playbook in the role GitHub repo,

JavaScript

i have just a tomcat server logging to a file and I want datadog to take those logs file and send them to my datadog account!

thanks in advance

JavaScript

Advertisement

Answer

I figured out how to do it,

at the bottom line is just about specifying a service (tomcat, nginx, java …) and the Ansible role will create the files needed to complete your configuration,

hope this can help someone

JavaScript
User contributions licensed under: CC BY-SA
3 People found this is helpful
Advertisement