elastic / elastic/beats

[MongoDB] Mongodb module errors on QueryExceededMemoryLimitNoDiskUseAllowed

Open
#33,616 12 comments 0 reactions 1 assignee Assigned to @ritalwar View on GitHub
Team:Service-Integrations
Dominant language
Go
Stars
12.7k
Forks
5k
Avg merge
2d 15m
Merged PRs (30d)
385

Description

Problem Statement:

User is setting up beats with the mongodb module and in replstatus module is showing the below error in logs.

ERROR:
`{"log.level":"error","@timestamp":"2022-11-03T12:05:26.360Z","log.origin":{"file.name":"module/wrapper.go","file.line":256},"message":"Error fetching data for metricset mongodb.replstatus: error getting replication info: could not get last operation timestamp in op log: could not get cursor on collection 'oplog.rs': (QueryExceededMemoryLimitNoDiskUseAllowed) Executor error during find command :: caused by :: Sort exceeded memory limit of 104857600 bytes, but did not opt in to external sorting.","service.name":"metricbeat","ecs.version":"1.6.0"}`

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.