Skip to content

Don't print warning about small files on each file system scan#48704

Merged
rdner merged 1 commit intoelastic:mainfrom
rdner:remove-scan-fingerprint-warning
Feb 6, 2026
Merged

Don't print warning about small files on each file system scan#48704
rdner merged 1 commit intoelastic:mainfrom
rdner:remove-scan-fingerprint-warning

Conversation

@rdner
Copy link
Member

@rdner rdner commented Feb 5, 2026

The warning is printed only once per each input, the rest of the information can be found in the debug logs.

Checklist

  • My code follows the style guidelines of this project
  • I have commented my code, particularly in hard-to-understand areas
    - [ ] I have made corresponding changes to the documentation
    - [ ] I have made corresponding change to the default configuration files
  • I have added tests that prove my fix is effective or that my feature works. Where relevant, I have used the stresstest.sh script to run them under stress conditions and race detector to verify their stability.
  • I have added an entry in ./changelog/fragments using the changelog tool.

Related issues

The warning is printed only once per each input, the rest of the information can be
found in the debug logs.
@rdner rdner self-assigned this Feb 5, 2026
@rdner rdner requested a review from a team as a code owner February 5, 2026 13:58
@rdner rdner added Filebeat Filebeat Team:Elastic-Agent-Data-Plane Label for the Agent Data Plane team labels Feb 5, 2026
@rdner rdner requested review from mauri870 and orestisfl February 5, 2026 13:58
@rdner rdner added the backport-active-all Automated backport with mergify to all the active branches label Feb 5, 2026
@botelastic botelastic bot added the needs_team Indicates that the issue/PR needs a Team:* label label Feb 5, 2026
@elasticmachine
Copy link
Contributor

Pinging @elastic/elastic-agent-data-plane (Team:Elastic-Agent-Data-Plane)

@botelastic botelastic bot removed the needs_team Indicates that the issue/PR needs a Team:* label label Feb 5, 2026
@github-actions
Copy link
Contributor

github-actions bot commented Feb 5, 2026

🤖 GitHub comments

Just comment with:

  • run docs-build : Re-trigger the docs validation. (use unformatted text in the comment!)

@rdner rdner merged commit 2157037 into elastic:main Feb 6, 2026
32 checks passed
@rdner rdner deleted the remove-scan-fingerprint-warning branch February 6, 2026 09:51
@github-actions
Copy link
Contributor

github-actions bot commented Feb 6, 2026

@Mergifyio backport 8.19 9.2 9.3

@mergify
Copy link
Contributor

mergify bot commented Feb 6, 2026

backport 8.19 9.2 9.3

✅ Backports have been created

Details

Cherry-pick of 2157037 has failed:

On branch mergify/bp/8.19/pr-48704
Your branch is up to date with 'origin/8.19'.

You are currently cherry-picking commit 215703758.
  (fix conflicts and run "git cherry-pick --continue")
  (use "git cherry-pick --skip" to skip this patch)
  (use "git cherry-pick --abort" to cancel the cherry-pick operation)

Changes to be committed:
	new file:   changelog/fragments/1770299686-remove-scan-fingerprint-warning.yaml
	modified:   filebeat/input/filestream/fswatch_test.go

Unmerged paths:
  (use "git add <file>..." to mark resolution)
	both modified:   filebeat/input/filestream/fswatch.go

To fix up this pull request, you can check it out locally. See documentation: https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/checking-out-pull-requests-locally

Cherry-pick of 2157037 has failed:

On branch mergify/bp/9.2/pr-48704
Your branch is up to date with 'origin/9.2'.

You are currently cherry-picking commit 215703758.
  (fix conflicts and run "git cherry-pick --continue")
  (use "git cherry-pick --skip" to skip this patch)
  (use "git cherry-pick --abort" to cancel the cherry-pick operation)

Changes to be committed:
	new file:   changelog/fragments/1770299686-remove-scan-fingerprint-warning.yaml
	modified:   filebeat/input/filestream/fswatch_test.go

Unmerged paths:
  (use "git add <file>..." to mark resolution)
	both modified:   filebeat/input/filestream/fswatch.go

To fix up this pull request, you can check it out locally. See documentation: https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/checking-out-pull-requests-locally

mergify bot pushed a commit that referenced this pull request Feb 6, 2026
The warning is printed only once per each input, the rest of the information can be
found in the debug logs.

(cherry picked from commit 2157037)

# Conflicts:
#	filebeat/input/filestream/fswatch.go
mergify bot pushed a commit that referenced this pull request Feb 6, 2026
The warning is printed only once per each input, the rest of the information can be
found in the debug logs.

(cherry picked from commit 2157037)

# Conflicts:
#	filebeat/input/filestream/fswatch.go
mergify bot pushed a commit that referenced this pull request Feb 6, 2026
The warning is printed only once per each input, the rest of the information can be
found in the debug logs.

(cherry picked from commit 2157037)
rdner added a commit that referenced this pull request Feb 6, 2026
… (#48728)

The warning is printed only once per each input, the rest of the information can be
found in the debug logs.

(cherry picked from commit 2157037)

Co-authored-by: Denis <denis.rechkunov@elastic.co>
rdner added a commit that referenced this pull request Feb 6, 2026
…file system scan (#48727)

The warning is printed only once per each input, the rest of the information can be
found in the debug logs.

(cherry picked from commit 2157037)

# Conflicts:
#	filebeat/input/filestream/fswatch.go

---------

Co-authored-by: Denis <denis.rechkunov@elastic.co>
rdner added a commit that referenced this pull request Feb 6, 2026
… file system scan (#48726)

The warning is printed only once per each input, the rest of the information can be
found in the debug logs.

(cherry picked from commit 2157037)

# Conflicts:
#	filebeat/input/filestream/fswatch.go

---------

Co-authored-by: Denis <denis.rechkunov@elastic.co>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport-active-all Automated backport with mergify to all the active branches enhancement Filebeat Filebeat Team:Elastic-Agent-Data-Plane Label for the Agent Data Plane team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Filebeat is logging excessive amount of logs

3 participants