2개 답변
- 최신
- 최다 투표
- 가장 많은 댓글
1
Are there any possibilities to filter/reduce the amount of metrics ingested by the cloudwatch-agent as well?
답변함 한 달 전
0
It seems incorrectly assumed that the cw-agent config should have this block in it, which is why I updated my configuration to include it within agent.config, but that seems to have not caused any errors with the agent, and allowed container logs to be enabled. Revisting the docs i realize that containerLogs should exist at the top level of json along with "agent".
Updating to this fixes my issue
{
"agent" : {
"config" : {
"logs" : {
"metrics_collected" : {
"app_signals" : {},
"kubernetes" : {
"enhanced_container_insights" : true
}
}
}
}
},
"containerLogs" : {
"enabled" : false
}
답변함 3달 전
관련 콘텐츠
- AWS 공식업데이트됨 9달 전
- AWS 공식업데이트됨 2년 전