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

[receiver/mongodbatlas] Scraping logs fails for version 4.2 clusters #14008

Closed
BinaryFissionGames opened this issue Sep 9, 2022 · 2 comments · Fixed by #14088
Closed

[receiver/mongodbatlas] Scraping logs fails for version 4.2 clusters #14008

BinaryFissionGames opened this issue Sep 9, 2022 · 2 comments · Fixed by #14088
Assignees
Labels
bug Something isn't working priority:p2 Medium receiver/mongodbatlas

Comments

@BinaryFissionGames
Copy link
Contributor

Describe the bug
MongoDB Atlas supports a range of cluster versions, with the lowest version being 4.2. This version does not share the same JSON log format as the other versions; It uses an unstructured log format (see: https://www.mongodb.com/docs/v4.2/reference/log-messages/). This causes scraping to fail, as the log message cannot be parsed.

Steps to reproduce
Attempt to scrape any 4.2 cluster.

What did you see instead?
This error and similar shows up:

invalid character 'T' looking for beginning of value

What version did you use?
v0.59.0

@BinaryFissionGames BinaryFissionGames added the bug Something isn't working label Sep 9, 2022
@BinaryFissionGames
Copy link
Contributor Author

I'll be taking a look at supporting 4.2.

@github-actions
Copy link
Contributor

github-actions bot commented Sep 9, 2022

Pinging code owners: @zenmoto. See Adding Labels via Comments if you do not have permissions to add labels yourself.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working priority:p2 Medium receiver/mongodbatlas
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants