如何使用Cloudwatch代理配置将(Windows EC2的)Windows计算机名称作为一个单独的字段写入Clou



Windows Logs: 1058,windows-computer-name.prod.domain.com

我在Cloudwatch Log Group中看到了上面的行

这是由运行在Windows EC2上的Cloudwatch agent生成的

问题:

是否有方法(to change the Cloudwatch agent config file(将Windows computer name作为Cloudwatch log group上的separate field写入日志组?

(这将帮助我查询单独的windows计算机名称字段,以检查某个计算机名称列表中的日志是否被转发到日志组(

您可以将自定义指标推送到CloudWatch Agent,以便进一步处理。为此,您必须使用StatsD代理。如何将自定义指标推送到CW如下所示,带有StatsD示例:

https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-Agent-custom-metrics-statsd.html

最新更新