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

Add more options to file source patterns, e.g. "follow_links", "case_insensitive", "max_depth" #5938

Open
pablosichert opened this issue Jan 8, 2021 · 1 comment
Labels
source: file Anything `file` source related type: enhancement A value-adding code change that enhances its existing functionality.

Comments

@pablosichert
Copy link
Contributor

Current Vector Version

vector 0.12.0

Use-cases

Give more fine-grained control over file include patterns, e.g. if symlinks should be followed and if the pattern should be considered case (in)sensitive.

Proposal

Add options to the file source config that are propagated to the GlobWalkBuilder and use that builder for the include_patterns.

References

@pablosichert pablosichert added source: file Anything `file` source related type: enhancement A value-adding code change that enhances its existing functionality. labels Jan 8, 2021
@mtekel
Copy link

mtekel commented Aug 24, 2023

Symlinks are a bit of issue. 0.32.0 sees original file and symlink as two separate and then complains checksum/fingerprint is the same and it spams the log. Interestingly, error messages have repetition supression, but info messages don't.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
source: file Anything `file` source related type: enhancement A value-adding code change that enhances its existing functionality.
Projects
None yet
Development

No branches or pull requests

2 participants