Skip to content

Conversation

@patrickmann
Copy link
Contributor

@patrickmann patrickmann commented Feb 5, 2026

/nocl see associated enterprise PR Graylog2/graylog-plugin-enterprise#13133

See below for PR description

@patrickmann patrickmann requested a review from Copilot February 10, 2026 09:52
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Introduces a MongoDB aggregation–driven event processor plus scheduler catch-up control.

Changes:

  • Introduce mongodb-v1 event processor (config/parameters/processor) and add enable_catchup support to execution jobs.

Reviewed changes

Copilot reviewed 13 out of 13 changed files in this pull request and generated 7 comments.

Show a summary per file
File Description
graylog2-server/src/test/java/org/graylog2/system/traffic/TrafficCounterServiceTest.java Updates tests for 10-minute bucketing and adds explicit 10-minute interval test + hourly aggregation assertions.
graylog2-server/src/main/java/org/graylog2/system/traffic/TrafficUpdater.java Adds 10-minute bucket rounding and hourly aggregation helper.
graylog2-server/src/main/java/org/graylog2/system/traffic/TrafficCounterService.java Switches writes to 10-minute buckets; adds TEN_MINUTE interval and hourly aggregation pathway.
graylog2-server/src/main/java/org/graylog2/rest/resources/system/TrafficResource.java Adds a detailed traffic endpoint returning 10-minute granularity histograms.
graylog2-server/src/main/java/org/graylog/events/processor/mongodb/MongoDBEventProcessorParameters.java Adds parameters type to support MongoDB event processor timerange handling.
graylog2-server/src/main/java/org/graylog/events/processor/mongodb/MongoDBEventProcessorConfig.java Adds MongoDB event processor config, validation, and scheduler config creation.
graylog2-server/src/main/java/org/graylog/events/processor/mongodb/MongoDBEventProcessor.java Implements a MongoDB aggregation pipeline event processor.
graylog2-server/src/main/java/org/graylog/events/processor/EventProcessorExecutionJob.java Adds enable_catchup flag and gates catch-up logic behind it.
graylog2-server/src/main/java/org/graylog/events/processor/EventDefinitionDto.java Minor builder declaration change (modifier order).
graylog2-server/src/main/java/org/graylog/events/event/EventReplayInfo.java Sets default empty streams in builder.
graylog2-server/src/main/java/org/graylog/events/event/EventOriginContext.java Adds MongoDB aggregation origin context helper.
graylog2-server/src/main/java/org/graylog/events/event/EventDto.java Sets default empty streams in builder.
graylog2-server/src/main/java/org/graylog/events/EventsModule.java Registers the new MongoDB event processor type.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant