Set up Datadog Agent using the official install script to send metrics:
To enable log forwarding to Better Stack, update the following values in /etc/datadog-agent/datadog.yaml config:
Run datadog-agent status header | grep 'Config Path' to get the config path.
By default, installed Datadog Agent doesn't collect any logs. You can start collecting logs from a log file by creating a custom configuration, for example to collect Apache logs:
You can find example configurations for commonly used services in /etc/datadog-agent/conf.d/.
Read more about Log collection configuration in the official docs.
Restart the Datadog Agent to apply the new configuration:
Adjust Datadog Agent to send metrics and logs.
Update the following values in your existing /etc/datadog-agent/datadog.yaml config:
Run datadog-agent status header | grep 'Config Path' to get the config path.
Restart the Datadog Agent to apply the new configuration:
Please let us know at hello@betterstack.com.
We're happy to help! 🙏
We use cookies to authenticate users, improve the product user experience, and for personalized ads. Learn more.