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] Jolokia module fails to parse mbeans with multiple quoted parameters #17375

Closed
jsoriano opened this issue Mar 31, 2020 · 1 comment · Fixed by #17374
Closed

[Metricbeat] Jolokia module fails to parse mbeans with multiple quoted parameters #17375

jsoriano opened this issue Mar 31, 2020 · 1 comment · Fixed by #17374
Assignees
Labels
bug Metricbeat Metricbeat module review Team:Integrations Label for the Integrations team

Comments

@jsoriano
Copy link
Member

jsoriano commented Mar 31, 2020

There are mbeans that can contain multiple quoted properties, and we are failing to correctly parse them.

In #17374 I have added a test case that reproduces the issue.

We parse mbeans to be able to match responses containing attributes of multiple mbeans. Mappings are defined using mbean names and their properties, but mbean names can be canonicalized on the responses, if they are, we need to canonicalize the ones in the configuration too.

There is a flag in jolokia requests to disable canonicalization of names in responses, but we found that this doesn't work in some scenarios, as when wildcards are used, so since #7321 we always parse and canonicalize mbeans.

Discovered in: https://discuss.elastic.co/t/metricbeat-jolokia-module-not-capturing-all-data/225333

@jsoriano jsoriano added bug module Metricbeat Metricbeat Team:Integrations Label for the Integrations team labels Mar 31, 2020
@elasticmachine
Copy link
Collaborator

Pinging @elastic/integrations (Team:Integrations)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Metricbeat Metricbeat module review Team:Integrations Label for the Integrations team
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants