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 ability to process list pre-existing CF log files and then exit once completed. #10

Open
hartfordfive opened this issue Dec 12, 2016 · 0 comments

Comments

@hartfordfive
Copy link
Owner

If some users have one or many existing log files for the Cloudflare Enterprise Log Share, and don't want to necessarily continuously index new log entries, there's no way allow this currently.

A -once flag option could be added and consequently read logs from all the files matching the -log-file-pattern flag, using the filepath.Glob function. The beat process would then exit after processing all files. Also, the -delete-on-complete flag could indicate if the matching log files are to be deleted one processing complete.

@hartfordfive hartfordfive added this to the beta-0.3.0 milestone Jan 12, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant