File tree Expand file tree Collapse file tree 2 files changed +2
-18
lines changed
translator/tocwconfig/sampleConfig Expand file tree Collapse file tree 2 files changed +2
-18
lines changed Original file line number Diff line number Diff line change 4747 file_state_folder = "/opt/aws/amazon-cloudwatch-agent/logs/state"
4848
4949 [[inputs.logfile.file_config]]
50- deployment_environment = ""
5150 file_path = "/opt/aws/amazon-cloudwatch-agent/logs/amazon-cloudwatch-agent.log"
5251 from_beginning = true
53- log_group_class = ""
5452 log_group_name = "amazon-cloudwatch-agent.log"
5553 log_stream_name = "amazon-cloudwatch-agent.log"
5654 pipe = false
5755 retention_in_days = -1
58- service_name = ""
5956 timezone = "UTC"
6057
6158 [[inputs.logfile.file_config]]
6259 auto_removal = true
63- deployment_environment = ""
6460 file_path = "/opt/aws/amazon-cloudwatch-agent/logs/test.log"
6561 from_beginning = true
66- log_group_class = ""
6762 log_group_name = "test.log"
6863 log_stream_name = "test.log"
6964 pipe = false
7065 retention_in_days = -1
71- service_name = ""
7266 timezone = "UTC"
7367
7468 [[inputs.mem]]
9387 "aws:StorageResolution" = "true"
9488
9589 [[inputs.procstat]]
96- alias = "1917393364"
9790 fieldpass = ["cpu_usage", "memory_rss"]
98- interval = "10s"
9991 pid_file = "/var/run/example1.pid"
10092 pid_finder = "native"
10193 tagexclude = ["user", "result"]
133125 endpoint_override = "https://logs-fips.us-west-2.amazonaws.com"
134126 force_flush_interval = "60s"
135127 log_stream_name = "LOG_STREAM_NAME"
136- mode = "EC2"
137128 region = "us-west-2"
138129 region_type = "ACJ"
130+ mode = "EC2"
139131 role_arn = "log_role_arn_value_test"
Original file line number Diff line number Diff line change 4848
4949 [[inputs.logfile.file_config]]
5050 backpressure_mode = "fd_release"
51- deployment_environment = ""
5251 file_path = "/opt/aws/amazon-cloudwatch-agent/logs/amazon-cloudwatch-agent.log"
5352 from_beginning = true
54- log_group_class = ""
5553 log_group_name = "amazon-cloudwatch-agent.log"
5654 log_stream_name = "amazon-cloudwatch-agent.log"
5755 pipe = false
5856 retention_in_days = 5
59- service_name = ""
6057 timezone = "UTC"
6158 trim_timestamp = true
6259
6360 [[inputs.logfile.file_config]]
6461 auto_removal = true
65- deployment_environment = ""
6662 file_path = "/opt/aws/amazon-cloudwatch-agent/logs/test.log"
6763 from_beginning = true
68- log_group_class = ""
6964 log_group_name = "test.log"
7065 log_stream_name = "test.log"
7166 pipe = false
7267 retention_in_days = -1
73- service_name = ""
7468 timezone = "UTC"
7569
7670 [[inputs.mem]]
9589 "aws:StorageResolution" = "true"
9690
9791 [[inputs.procstat]]
98- alias = "1917393364"
9992 fieldpass = ["cpu_usage", "memory_rss"]
100- interval = "10s"
10193 pid_file = "/var/run/example1.pid"
10294 pid_finder = "native"
10395 tagexclude = ["user", "result"]
135127 endpoint_override = "https://logs-fips.us-west-2.amazonaws.com"
136128 force_flush_interval = "60s"
137129 log_stream_name = "LOG_STREAM_NAME"
138- mode = "EC2"
139130 region = "us-west-2"
140131 region_type = "ACJ"
132+ mode = "EC2"
141133 role_arn = "log_role_arn_value_test"
You can’t perform that action at this time.
0 commit comments