I not found answer on official website and support can't give an answer. So I ask the community.
I want use Log Management without using Datadog Infrastructure.
There is a link on the official site, but it is no longer available and a redirect to another page is no answer to the question. https://docs.datadoghq.com/logs/faq/can-the-datadog-agent-be-used-to-send-only-logs/
Also, I couldn't find a copy of this page on the Internet.
My agent config:
agent:
image: datadog/agent:7.25.0
environment:
- DD_API_KEY={{ datadog_api_key }}
- DD_SITE=datadoghq.eu
- DD_PROCESS_AGENT_ENABLED=false
- DD_LOGS_ENABLED=true
- DD_LOGS_CONFIG_CONTAINER_COLLECT_ALL=true
volumes:
- /var/run/docker.sock:/var/run/docker.sock:ro
- /proc/:/host/proc/:ro
- /sys/fs/cgroup/:/host/sys/fs/cgroup:ro
- /opt/datadog-agent/run:/opt/datadog-agent/run:rw
THis collect container logs without container metrics. But collect host metrics.
How to disable collect host metrics?
Okay, new documentation link:
https://docs.datadoghq.com/logs/guide/how-to-set-up-only-logs