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
質問済み 3年前778ビュー
1回答
0
承認された回答

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
回答済み 3年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ