Skip to content

discoverer.rb: Exclude patterns match filename #252

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

Merged
merged 2 commits into from
Jan 6, 2020

Conversation

ddaanet
Copy link
Contributor

@ddaanet ddaanet commented Jan 3, 2020

#237

The documentation says: Exclusions (matched against the filename, not full path). Filename patterns are valid here, too.

Fix can_exclude? method so it matches the filename and not the full pathname.

The documentation says: Exclusions (matched against the filename, not full path). Filename patterns are valid here, too. 
https://www.elastic.co/guide/en/logstash/current/plugins-inputs-file.html#plugins-inputs-file-exclude
Fix can_exclude? method so it matches the filename and not the full pathname.
@ddaanet
Copy link
Contributor Author

ddaanet commented Jan 6, 2020

@logstash-core Here's a simple patch for a trivial regression in the logstash file input plugin.

@ddaanet ddaanet requested a review from jsvd January 6, 2020 14:43
Copy link
Member

@jsvd jsvd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, can you bump the patch version in the gemspec and introduce a new change log entry so I'll publish the plugin right away?

@ddaanet
Copy link
Contributor Author

ddaanet commented Jan 6, 2020

@jsvd Done.

@jsvd jsvd merged commit 2251e43 into logstash-plugins:master Jan 6, 2020
@jsvd
Copy link
Member

jsvd commented Jan 6, 2020

Version 4.1.12 has been published!

@ddaanet ddaanet deleted the patch-1 branch January 7, 2020 14:24
@ddaanet ddaanet restored the patch-1 branch January 7, 2020 14:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants