Quick Guide for Datadog Agent on Hosted Platforms for Events

Install Datadog Agent

Run the following command on the host instance. It starts collecting and reporting metrics on CPU, memory, network, and uptime for the host instance.

Replace the placeholder <dns> with the correct endpoint name.

Basic Installation
DD_UPGRADE=true \
DD_API_KEY=kloudfuse \
DD_URL="https://<KFUSE-DNS>/ingester" \
bash -c "$(curl -L https://s3.amazonaws.com/dd-agent/scripts/install_script_agent7.sh)"

Collect Events

Edit your /etc/datadog-agent/datadog.yaml file to collect events.

Be sure to enable the collect_events option. If this option is missing or set to false, you need to enable it.

Use this configuration to enable the collection of container events (start, stop, die events) and system events (such as log rotations or system changes).

Collect events
collect_events: true
yaml