Increase the Number of Log Files Tailed by the Agent

Cette page n'est pas encore disponible en français, sa traduction est en cours.
Si vous avez des questions ou des retours sur notre projet de traduction actuel, n'hésitez pas à nous contacter.

By default the Agent can tail up to 200 log files on Windows and MacOS, and 500 log files on other operating systems. This limit is set to avoid performances issue when wildcards are set on huge directories.

To increase this limit, set the value of open_files_limit in the Agent’s configuration file (/etc/datadog-agent/datadog.yaml) in the logs_config section:

  open_files_limit: 500

For containerized environments you can set the DD_LOGS_CONFIG_OPEN_FILES_LIMIT environment variable.

Note: Increasing the tailed logs files limit might increase the resource consumption of the Agent.