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

[inputs.tail] Add flag to ignore files if not found and not give error #6518

Closed
deepaksood619 opened this issue Oct 13, 2019 · 1 comment
Closed
Labels
area/tail feature request Requests for new plugin and for new features to existing plugins
Milestone

Comments

@deepaksood619
Copy link

Feature Request

a flag to ignore if file not present, and not throw error in telegraf logs

Proposal:

Current behavior:

Throws error for file not present

Desired behavior:

Does not throw error and fail silently

Use case:

I don't want to create different configuration for each server because we are using ansible to deploy everything to servers
And I don't want to clutter Elasticsearch with error logs that are not needed

rawkode added a commit to rawkode/telegraf that referenced this issue Oct 14, 2019
rawkode added a commit to rawkode/telegraf that referenced this issue Oct 14, 2019
@danielnelson danielnelson added area/tail feature request Requests for new plugin and for new features to existing plugins labels Oct 15, 2019
rawkode added a commit to rawkode/telegraf that referenced this issue Oct 16, 2019
@danielnelson
Copy link
Contributor

Closed by #6540

@danielnelson danielnelson added this to the 1.13.0 milestone Nov 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/tail feature request Requests for new plugin and for new features to existing plugins
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants