Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

filesystem code should have an option not to filter duplicate, and/or log dropped duplicates #78

Open
fearful-symmetry opened this issue Mar 13, 2023 · 0 comments
Labels
enhancement New feature or request Team:Elastic-Agent Label for the Agent team

Comments

@fearful-symmetry
Copy link
Contributor

Right now, GetFilesystems will run all filesystems through a filterDuplicates function that uses the device name to remove duplicate entries. For most instances this makes sense, but for certain device mapper setups, where a user might have multiple directories backed by a single device, this can be confusing. We might want some kind of filter_duplicates flag to enable/disable this behavior, or at least, a debug-level log line that tells the user when a filesystem has been filtered out.

@fearful-symmetry fearful-symmetry added enhancement New feature or request Team:Elastic-Agent Label for the Agent team labels Mar 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Team:Elastic-Agent Label for the Agent team
Projects
None yet
Development

No branches or pull requests

1 participant