Is it possible to have the agent parse several log files and use wildcards for that?

Yes, you can have the datadog-agent parse several log files by using the following syntax in the datadog.conf configuration file of the agent:

dogstreams: /path/to/log1:/path/to/, /path/to/log2:/path/to/

Yes, logfile paths may include wildcard *'s and ?'s, so you can have the datadog-agent parse all log files of a given directory for instance:

dogstreams: /path/to/logfolder/*.log:/path/to/  

For further questions about setting up log parsing with the agent, you can refer to:


Have more questions? Submit a request


Article is closed for comments.