AWS CloudWatch agent configuration

0

Looking through the AWS CloudWatch Agent repo on github, I've noticed two configuration options under the file section:

Regular expression for log files to ignore

blacklist = "journal|syslog"

Publish all log files that match file_path

publish_multi_logs = true

I would like to use those, but I'm concerned that these might be removed later on. Anyone out there using/knowing more about these?

Thanks

Link to the github repo:
https://github.com/aws/amazon-cloudwatch-agent/blob/39d84b8e3f5215a3e6d880b54a88e63a692ecd64/plugins/inputs/logfile/README.md

Link to the documentation:
https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-Agent-Configuration-File-Details.html

Cipri
feita há 3 anos778 visualizações
1 Resposta
0
Resposta aceita

The Link to the github repo:
https://github.com/aws/amazon-cloudwatch-agent/blob/39d84b8e3f5215a3e6d880b54a88e63a692ecd64/plugins/inputs/logfile/README.md

Is considered an open source for features you can use for the Cloudwatch Agent, as I have tested in my environment you should be able to exclude files using blacklist = "journal|syslog" and put logs from each log file in a separate log stream using publish_multi_logs = true.

As far as my knowledge this should not be disabled or removed, if you face any issues in the future regarding this feature reach AWS support.

Abboud
respondido há 3 anos

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas