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

Metricbeat metric sets modules uses wrong log level #27799

Closed
philippkahr opened this issue Sep 8, 2021 · 1 comment · Fixed by #27804
Closed

Metricbeat metric sets modules uses wrong log level #27799

philippkahr opened this issue Sep 8, 2021 · 1 comment · Fixed by #27804
Labels
Team:Integrations Label for the Integrations team

Comments

@philippkahr
Copy link
Contributor

This issue is related to: #27798

If you have a misconfiguration and set the hosts: ["http://localhost:9200"] to use a trailing / e.g. hosts: ["http://localhost:9200/"] metricbeat will write the following issue:

2021-09-08T09:19:46.039+0200    INFO    module/wrapper.go:259   Error fetching data for metricset elasticsearch.shard: HTTP error 400 in : 400 Bad Request
2021-09-08T09:19:46.040+0200    INFO    module/wrapper.go:259   Error fetching data for metricset elasticsearch.cluster_stats: HTTP error 404 in : 404 Not Found
2021-09-08T09:19:46.047+0200    INFO    module/wrapper.go:259   Error fetching data for metricset elasticsearch.ml_job: HTTP error 400 in : 400 Bad Request
2021-09-08T09:19:46.047+0200    INFO    module/wrapper.go:259   Error fetching data for metricset elasticsearch.enrich: HTTP error 404 in : 404 Not Found

Those messages should be ERROR and not INFO.

@botelastic botelastic bot added the needs_team Indicates that the issue/PR needs a Team:* label label Sep 8, 2021
@philippkahr philippkahr changed the title Metricbeat xpack.Elasticsearch module uses wrong log level Metricbeat metric sets modules uses wrong log level Sep 8, 2021
philippkahr added a commit to philippkahr/beats that referenced this issue Sep 8, 2021
@jsoriano jsoriano added the Team:Integrations Label for the Integrations team label Sep 13, 2021
@elasticmachine
Copy link
Collaborator

Pinging @elastic/integrations (Team:Integrations)

@botelastic botelastic bot removed the needs_team Indicates that the issue/PR needs a Team:* label label Sep 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Team:Integrations Label for the Integrations team
Projects
None yet
3 participants