Graylog2 / Graylog2/graylog2-server

Default caps on MongoDB collections

Open
#10,495 0 comments 1 reaction 0 assignees View on GitHub
bug triaged
Dominant language
Java
Stars
8.1k
Forks
1.1k
Avg merge
1d 20h
Merged PRs (30d)
217

Description

We should place a cap on the maximum size of MongoDB collections, especially the System Messages collection.
## Expected Behavior

Graylog audit logs should not be allowed to fill up all available space in MongoDB.
## Current Behavior

Audit logs can grow to the point that MongoDB fails for lack of space on the volume.
## Possible Solution

Cap max size for Mongo Collections by default.
## Steps to Reproduce (for bugs)

1.
2.
3.
4.

## Context

## Your Environment

* Graylog Version:
* Java Version:
* Elasticsearch Version:
* MongoDB Version:
* Operating System:
* Browser version:

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.