Open AndersonQ opened 18 hours ago
This pull request does not have a backport label. If this is a bug or security fix, could you label this PR @AndersonQ? 🙏. For such, you'll need to label your PR with:
To fixup this pull request, you need to add the backport labels for the needed branches, such as:
backport-8./d
is the label to automatically backport to the 8./d
branch. /d
is the digitbackport-8.x
has been added to help with the transition to the new branch 8.x
.
If you don't need it please use backport-skip
label and remove the backport-8.x
label.
Pinging @elastic/elastic-agent-data-plane (Team:Elastic-Agent-Data-Plane)
During startup filebeat now validates the filestream inputs and fails to start if there are inputs without ID or with duplicated IDs. Duplicated IDs might cause data duplication therefore now it's mandatory to have unique and non-empty ID for each filestream input.
Proposed commit message
Checklist
[ ] I have made corresponding change to the default configuration filesCHANGELOG.next.asciidoc
orCHANGELOG-developer.next.asciidoc
.Disruptive User Impact
Impact: Users who have not configured unique IDs for their filestream inputs will need to update their configurations to include unique IDs for each input. Failure to do so will prevent Filebeat from starting.
Previously: Filebeat would only log an error if filestream would find inputs had missing or duplicated IDs, potentially leading to data duplication.
Now: Filebeat will fail to start if any filestream input lacks an ID or has a duplicated ID.
How to test this PR locally
filebeat.yml
output.discard.enabled: true logging: level: info metrics: enabled: false
verify filebeat:
Related issues
Logs