Skip to content

Commit e0b81f0

Browse files
committed
Revert "config updates"
This reverts commit 9bdfdcb.
1 parent 9bdfdcb commit e0b81f0

File tree

2 files changed

+2
-18
lines changed

2 files changed

+2
-18
lines changed

translator/tocwconfig/sampleConfig/complete_darwin_config.conf

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -47,28 +47,22 @@
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]]
@@ -93,9 +87,7 @@
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"]
@@ -133,7 +125,7 @@
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"

translator/tocwconfig/sampleConfig/complete_linux_config.conf

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -48,29 +48,23 @@
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]]
@@ -95,9 +89,7 @@
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"]
@@ -135,7 +127,7 @@
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"

0 commit comments

Comments
 (0)