-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcloudwatch-config.json
37 lines (35 loc) · 1.02 KB
/
cloudwatch-config.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
{
"agent": {
"metrics_collection_interval": 10,
"run_as_user": "root",
"logfile": "/var/logs/amazon-cloudwatch-agent.log"
},
"logs": {
"logs_collected": {
"files": {
"collect_list": [
{
"file_path": "/opt/csye6225/webapp/csye6225.log",
"log_group_name": "csye6225",
"log_stream_name": "webapp"
},
{
"file_path": "/var/log/auth.log",
"log_group_name": "ec2- security",
"log_stream_name": "audit-log"
}
]
}
},
"log_stream_name": "cloudwatch_log_stream"
},
"metrics":{
"metrics_collected":{
"statsd":{
"service_address":"127.0.0.1:8125",
"metrics_collection_interval":10,
"metrics_aggregation_interval":30
}
}
}
}