[mongodb_atlas]: Parsing errors in multiple datasets/datastreams and agent instability in Beta version #11576
Labels
Integration:mongodb_atlas
MongoDB Atlas
needs:triage
Team:Obs-InfraObs
Label for the Observability Infrastructure Monitoring team [elastic/obs-infraobs-integrations]
Integration Name
MongoDB Atlas [mongodb_atlas]
Dataset Name
mongodb_atlas-alert,mongodb_atlas-hardware,mongodb_atlas-mongod_database,mongodb_atlas-organization,mongodb_atlas-process,mongodb_atlas-project
Integration Version
0.0.8
Agent Version
8.15.1
Agent Output Type
elasticsearch
Elasticsearch Version
8.15.0
OS Version and Architecture
Elastic Docker Image hosted on Azure Container Apps (x86_64/linux)
Software/API Version
No response
Error Message
Please see the error-log.json
Event Original
Please see the request-trace.json
What did you do?
I did some digging and isolated the error to a particular request. In the attached 'error-log.json' you can see the error being logged. The 'request-trace.json' file contains the corresponding request to the MongoDB API.
If I understand the error logs correctly, the error occurs when parsing the response from MongoDB in line 384 of the file input.go:
When browsing Elastic GitHub I can fin the line here: https://github.com/elastic/beats/blob/main/x-pack/filebeat/input/cel/input.go#L384:
I don't have any knowledge of GO, so I can't determine what exactly is going wrong. But I think your developers should be able to quickly find out what the issue is with this information.
What did you see?
I did some digging and isolated the error to a particular request. In the attached 'error-log.json' you can see the error being logged. The 'request-trace.json' file contains the corresponding request to the MongoDB API.
If I understand the error logs correctly, the error occurs when parsing the response from MongoDB in line 384 of the file input.go:
When browsing Elastic GitHub I can fin the line here: https://github.com/elastic/beats/blob/main/x-pack/filebeat/input/cel/input.go#L384:
I don't have any knowledge of GO, so I can't determine what exactly is going wrong. But I think your developers should be able to quickly find out what the issue is with this information.
What did you expect to see?
Parsed output
Anything else?
The text was updated successfully, but these errors were encountered: