Open blakerouse opened 6 months ago
Pinging @elastic/elastic-agent (Team:Elastic-Agent)
Another log message that looks broken:
{"log.level":"error","@timestamp":"2024-03-20T00:00:21.471Z","log.origin":{"file.name":"cmd/watch.go","file.line":117},"message":"Error detected, proceeding to rollback: %vfailed to connect to agent daemon '5' times in a row","ecs.version":"1.6.0"}
Another:
{"log.level":"error","@timestamp":"2024-03-20T00:04:36.551Z","log.origin":{"file.name":"cmd/watch.go","file.line":122},"message":"rollback failedfailed to restart agent via service: failed to restart service (Elastic Agent): The service has not been started.","ecs.version":"1.6.0"}
is there a linting rule we can turn on to prevent these from happening again? I can imagine there's a simple regex to detect these issues
The following log messages are incorrectly formatted:
For confirmed bugs, please report: