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

feat(inputs.win_eventlog): Add state-persistence capabilities #12790

Merged
merged 9 commits into from
Mar 7, 2023

Conversation

srebhan
Copy link
Contributor

@srebhan srebhan commented Mar 3, 2023

finalizes #8352
follow up on PR #12166

This PR adds the possibility to remember the last-read log entry across Telegraf restart to make sure all log-entries are covered. To do so, we add state-persistence capabilities and introduce the API's exiting bookmarking functionality to this plugin.
Furthermore, we add a from_beginning flag which allows to read entries from the beginning of time if no state/bookmark exists.

@telegraf-tiger telegraf-tiger bot added feat Improvement on an existing feature such as adding a new setting/mode to an existing plugin plugin/input 1. Request for new input plugins 2. Issues/PRs that are related to input plugins labels Mar 3, 2023
@srebhan srebhan added the ready for final review This pull request has been reviewed and/or tested by multiple users and is ready for a final review. label Mar 7, 2023
@srebhan srebhan added the area/windows Related to windows plugins (win_eventlog, win_perf_counters, win_services) label Mar 7, 2023
@powersj powersj merged commit 0e1b637 into influxdata:master Mar 7, 2023
@srebhan srebhan added this to the v1.26.0 milestone Jun 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/windows Related to windows plugins (win_eventlog, win_perf_counters, win_services) feat Improvement on an existing feature such as adding a new setting/mode to an existing plugin plugin/input 1. Request for new input plugins 2. Issues/PRs that are related to input plugins ready for final review This pull request has been reviewed and/or tested by multiple users and is ready for a final review.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants