Я установил агент AWS CloudWatch на один из своих экземпляров (Windows), и в файле журнала агента появляется такое сообщение:
2019-04-14T16: 10: 53Z W! multilineStarter отсутствует в logevent. multilineStarter: true
И это забивает файл журнала - я получаю около 700 строк этого повторяющегося ЗА СЕКУНДУ!
Я искал в Google по запросу "multilineStarter" и получил 0 результатов. Как я могу быть единственным, у кого это будет в моем файле журнала? Ржунимагу.
Некоторые детали:
Агент Windows Server 2016 CloudWatch: «версия»: «1.210825.0» Моя конфигурация:
{
"logs": {
"logs_collected": {
"windows_events": {
"collect_list": [
{
"event_format": "xml",
"event_levels": [
"WARNING",
"ERROR",
"CRITICAL"
],
"event_name": "System",
"log_group_name": "System",
"log_stream_name": "{instance_id}"
},
{
"event_format": "xml",
"event_levels": [
"WARNING",
"ERROR",
"CRITICAL"
],
"event_name": "Application",
"log_group_name": "Application",
"log_stream_name": "{instance_id}"
}
]
}
}
},
"metrics": {
"append_dimensions": {
"AutoScalingGroupName": "${aws:AutoScalingGroupName}",
"ImageId": "${aws:ImageId}",
"InstanceId": "${aws:InstanceId}",
"InstanceType": "${aws:InstanceType}"
},
"metrics_collected": {
"LogicalDisk": {
"measurement": [
"% Free Space"
],
"metrics_collection_interval": 60,
"resources": [
"*"
]
},
"Memory": {
"measurement": [
"% Committed Bytes In Use"
],
"metrics_collection_interval": 60
},
"Paging File": {
"measurement": [
"% Usage"
],
"metrics_collection_interval": 60,
"resources": [
"*"
]
},
"PhysicalDisk": {
"measurement": [
"% Disk Time"
],
"metrics_collection_interval": 60,
"resources": [
"*"
]
},
"Processor": {
"measurement": [
"% User Time",
"% Idle Time",
"% Interrupt Time"
],
"metrics_collection_interval": 60,
"resources": [
"_Total"
]
},
"statsd": {
"metrics_aggregation_interval": 60,
"metrics_collection_interval": 30,
"service_address": ":8125"
}
}
}
}
Когда служба запускается, у меня есть это в журнале:
2019/04/14 12:10:52 I! Config has been translated into TOML C:\ProgramData\Amazon\AmazonCloudWatchAgent\\amazon-cloudwatch-agent.toml
2019-04-14T16:10:53Z I! cloudwatch: get unique roll up list []
2019-04-14T16:10:53Z I! Starting AmazonCloudWatchAgent (version 1.210825.0)
2019-04-14T16:10:53Z I! Loaded outputs: cloudwatch cloudwatchlogs
2019-04-14T16:10:53Z I! cloudwatch: publish with ForceFlushInterval: 1m0s, Publish Jitter: 22s
2019-04-14T16:10:53Z I! Loaded inputs: win_perf_counters windows_event_log statsd
2019-04-14T16:10:53Z I! Tags enabled: host=XXXXXX
2019-04-14T16:10:53Z I! Agent Config: Interval:1m0s, Quiet:false, Hostname:"XXXXXX", Flush Interval:1s
2019-04-14T16:10:53Z I! Started the statsd service on :8125
2019-04-14T16:10:53Z I! Reading from offset 56351 in Amazon_CloudWatch_WindowsEventLog_Application
2019-04-14T16:10:53Z I! Reading from offset 62594 in Amazon_CloudWatch_WindowsEventLog_System
2019-04-14T16:10:53Z I! Statsd listener listening on: [::]:8125
2019-04-14T16:10:53Z W! multilineStarter is missing in logevent. multilineStarter: true
2019-04-14T16:10:53Z W! multilineStarter is missing in logevent. multilineStarter: true
2019-04-14T16:10:53Z W! multilineStarter is missing in logevent. multilineStarter: true
2019-04-14T16:10:53Z W! multilineStarter is missing in logevent. multilineStarter: true
2019-04-14T16:10:53Z W! multilineStarter is missing in logevent. multilineStarter: true
2019-04-14T16:10:53Z W! multilineStarter is missing in logevent. multilineStarter: true
2019-04-14T16:10:53Z W! multilineStarter is missing in logevent. multilineStarter: true
2019-04-14T16:10:53Z W! multilineStarter is missing in logevent. multilineStarter: true
2019-04-14T16:10:53Z W! multilineStarter is missing in logevent. multilineStarter: true
2019-04-14T16:10:53Z W! multilineStarter is missing in logevent. multilineStarter: true
2019-04-14T16:10:53Z W! multilineStarter is missing in logevent. multilineStarter: true
2019-04-14T16:10:53Z W! multilineStarter is missing in logevent. multilineStarter: true
2019-04-14T16:10:53Z W! multilineStarter is missing in logevent. multilineStarter: true
У кого-нибудь есть мысли по этому поводу?
Спасибо