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 polling method to logparser and tail inputs #3213

Merged
merged 1 commit into from
Sep 11, 2017

Conversation

danielnelson
Copy link
Contributor

@danielnelson danielnelson commented Sep 8, 2017

Add the ability to use polling to watch for file changes to tail and logparser.

The default is still to use inotify, but I may change this depending on reliability feedback, as there are a number of bugs open with inotify as well as it being supported on non-linux platforms.

supersedes #2858
closes #2981
related #2965, #2847

Required for all PRs:

  • Associated README.md updated.
  • Has appropriate unit tests.

@danielnelson danielnelson added this to the 1.5.0 milestone Sep 8, 2017
@danielnelson danielnelson merged commit 32f313a into master Sep 11, 2017
@danielnelson danielnelson deleted the add-polling-to-logparser-tail branch September 11, 2017 18:56
@bortek
Copy link

bortek commented Nov 14, 2017

I have the same issue on Raspberry pi and want to test poll method. I am using
Telegraf v1.4.3 (git: release-1.4 b473b6a)

and this options is not there. It is present in the master branch. But which version is being built out of master branch? Which version should I download to get this fix?

ping @danielnelson

@bortek
Copy link

bortek commented Nov 15, 2017

Never mind. I fetched the nightly build and had this change. I tested and it seems to work :)

@danielnelson
Copy link
Contributor Author

Looks like you have it figured out, keep an eye on the CHANGELOG.md in the top directory of the repo as well as the milestones on the sidebar of each issue to see the target version for a feature.

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

Successfully merging this pull request may close these issues.

Logparser can not tail file in Windows
2 participants