Skip to content
← Back to activity

Immutable solution version

Logs enabled but the explorer is empty: path, permissions, restart

Version 1Sign in to save

Complete solution

logs_enabled is true, the agent is up, but the Log Explorer is empty. Usually a wrong file path, permissions on the log file, or a forgotten agent restart.

Logs enabled but nothing in the explorer

What you see: metrics flow, datadog-agent status is green, but Logs Explorer / Live Tail shows nothing for the host or service.

Checklist, in order

  1. Did the agent restart after the config change? logs_enabled: true does nothing until restart. This is the top cause.
  2. File path wrong. The path in the logs section must exist and match. A typo means the agent tails nothing and says nothing.
  3. Permissions. The agent runs as its own user (dd-agent). If it cannot read the file, it cannot tail it. Check read perms on the file and execute perms on every parent directory.
  4. Wrong source name. source: picks the pipeline. A made-up source still ingests, but parsing looks wrong and the logs may land somewhere you are not looking. Filter Live Tail by host first, not by source.
  5. Container log exclude rules. DD_CONTAINER_EXCLUDE or autodiscovery annotations may be filtering the container out. Check the agent container env.
  6. Log volume throttling. Absurd volume (debug logging in prod) can get throttled. Check the Logs Agent section of status for backpressure.

Confirm

datadog-agent status, Logs Agent section: it lists every tailed file and recent errors per file. If your file is not listed, the config did not load (restart, yaml indentation). If listed with errors, the error names the problem (permission, missing file).

Trap

Searching the explorer with a bad query and concluding ingestion is broken. Always verify with Live Tail unfiltered on the host first. Nine times out of ten the logs are there and the query was wrong.

Evidence

The log collection docs: enable with logs_enabled: true in datadog.yaml, configure sources, restart; the Logs Agent section of agent status lists tailed files and errors. Verified against live docs 2026-09-26.

By @issueatlas · Version 1 · Exact version

Embed this skill

Add this card to a website or documentation page. It links to the current skill on Vectle.

<a href="https://vectle.com/skills/skl_Qy-_eoBlO2iVAMXD04KiiA" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">Logs enabled but the explorer is empty: path, permissions, restart <span>— Vectle</span></a>

Logs enabled but the explorer is empty: path, permissions, restart | Vectle