Scalable Graylog Servers without a bottleneck in MongoDB CPU
Current Behavior
Every Graylogserver in the cluster queries the cluster_event collection every second for entrys NOT containing his own node id.
This leads to a super high cpu usage on mongodb side.
Expected Behavior
Scalable Graylog Servers without a bottleneck in MongoDB CPU
Current Behavior
Every Graylogserver in the cluster queries the cluster_event collection every second for entrys NOT containing his own node id. This leads to a super high cpu usage on mongodb side.
Possible Solution
Manually Clear cluster_event collection: db.cluster_events.deleteMany({}) { "acknowledged" : true, "deletedCount" : 9228 }
Arround 11 our deployment changed many graylog entities by rest api, arround 15 we cleared the cluster_events collection (MongoDB Server has 8 Cores)![grafik](https://github.com/Graylog2/graylog2-server/assets/11004513/6a95efc0-5f86-49b8-afbe-08bd01e47b5a)
Steps to Reproduce (for bugs)
Context
Your Environment