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

Exclude files in filebeat #563

Merged
merged 1 commit into from
Dec 21, 2015
Merged

Exclude files in filebeat #563

merged 1 commit into from
Dec 21, 2015

Conversation

monicasarbu
Copy link
Contributor

This PR fixes https://github.com/elastic/filebeat/issues/298 by adding exclude_files config option to the prospector.

You can specify a list of regular expressions to match the files that will be ignored.

@tsg
Copy link
Contributor

tsg commented Dec 18, 2015

Code LGTM, but may I ask for a system test to check the overall functionality?

@monicasarbu
Copy link
Contributor Author

Remove the review label in order to add a system test.

@monicasarbu monicasarbu force-pushed the exclude_files_filebeat branch 2 times, most recently from 7e0a16f to da0387a Compare December 21, 2015 21:37
You can define a list of regular expressions to match the ignored files. This option is useful
in case you want to include all the log files with the exception of the .gz files. For this particular
case, you can use exclude_files: ['.gz$'].
@tsg
Copy link
Contributor

tsg commented Dec 21, 2015

All good, the failed test runs are in the bogus branch.

tsg added a commit that referenced this pull request Dec 21, 2015
@tsg tsg merged commit fb95077 into master Dec 21, 2015
@tsg tsg deleted the exclude_files_filebeat branch December 21, 2015 23:24
@kramach1980
Copy link

When will this be available? When is the next planned release

@ruflin
Copy link
Member

ruflin commented Jan 29, 2016

@kramach1980 We currently plan the release with this feature for mid next week. But we can't make any promises.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants