Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Misleading log statements in association controller #3535

Closed
david-kow opened this issue Jul 27, 2020 · 1 comment · Fixed by #3537
Closed

Misleading log statements in association controller #3535

david-kow opened this issue Jul 27, 2020 · 1 comment · Fixed by #3537
Labels
>bug Something isn't working

Comments

@david-kow
Copy link
Contributor

The controller handling both Kibana and ES associations has logging statements that are confusing. E.g.:

r.log(association).Info("Updating spec with Elasticsearch association configuration")

r.log(association).Error(err, "Failed to update EnterpriseSearch association configuration")

This leads to logs similar to the below. Notice Kibana assoc logging about ES config.
{"log.level":"info","@timestamp":"2020-07-23T19:27:17.235Z","log.logger":"association.beat-kibana-association-controller","message":"Updating spec with Elasticsearch association configuration","service.version":"1.2.0-51ae5fd4","service.type":"eck","ecs.version":"1.4 .0","namespace":"monitoring","beat_name":"log"}

@sebgl
Copy link
Contributor

sebgl commented Jul 29, 2020

Will be fixed as part of #3537.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
>bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants