Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

[UniversalForwarder 9.2.1] SPLUNK_TAIL_FILE env var does not consider log file rotation #863

Open
flyattimes opened this issue Oct 31, 2024 · 0 comments

Comments

@flyattimes
Copy link

We are using the SPLUNK_TAIL_FILE envvar to redirect splunkd.log content to stdout.

When splunkd.log is rotated to splunkd.log.1, the handle of SPLUNK_TAIL_FILE remains with splunkd.log.1 which means that no more logs are visible.
When the log file is rotated, the handle should be released and assigned to the newly created splunkd.log

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant