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

Kinesis agent file deletion access #17

Closed
Mahalakshmi-Shanmugam opened this issue Apr 12, 2021 · 2 comments
Closed

Kinesis agent file deletion access #17

Mahalakshmi-Shanmugam opened this issue Apr 12, 2021 · 2 comments

Comments

@Mahalakshmi-Shanmugam
Copy link

Hi,
The agent perfectly reads data from the input files; but is there a way to configure the agent to delete the input files once the data is processed and sent to the destination?

Thanks in advance.

@dhhoang
Copy link
Contributor

dhhoang commented Apr 12, 2021

@Mahalakshmi-Shanmugam The Kinesis agent doesn't do that, the reason is that we need to collect data from log files that are constantly being appended, and the agent has no way to know whether a log file will or will not have more data in the future.
Usually the logging software (like NLog or log4net ) does offer archiving configurations that automatically clean up old log files.
I'd recommend looking into those.
Does that answer your question?

@dhhoang
Copy link
Contributor

dhhoang commented Apr 14, 2021

Closing this issue due to no further requests

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

No branches or pull requests

2 participants