Graylog2 / Graylog2/graylog2-server

Saving Collector settings always results in settings sync

Open
#27,124 0 comments 0 reactions 0 assignees View on GitHub
bug collector
Dominant language
Java
Stars
8.1k
Forks
1.1k
Avg merge
1d 20h
Merged PRs (30d)
217

Description

## Expected Behavior
Changes that do not affect the collectors themselves (e.g. offline thresholds) should not cause a settings resync for all collectors.
If the ingest endpoint is unchanged, we should not force a sync on the entire fleet.

## Current Behavior
Changing the offline threshold causes a config resync.

## Possible Solution
Detect which attributes have changed and have an allowlist for changes that don't require collector sync.

## Steps to Reproduce (for bugs)

1.
2.
3.
4.

## Context

## Your Environment

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

## Checklist
[] This issue fix need to be backported.
[] Does this issue have **security** implications?

Contributor guide

Open the contributing guide

Research direction

No files or tests are named. Start by tracing where Collector settings are saved and where that save triggers a fleet-wide config resync; identify which changed attributes determine whether the ingest endpoint or collector configuration is affected. Done means changing offline thresholds no longer resyncs collectors, while changes that require new collector settings still do.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.