elasticsearch - Rotating logstash logs holding onto file handle. Can I force it to write to a new log? -
so have been experimenting rotating logs in logstash. created script rotate logs because logrotate undesirable in environment. said rotates logs correctly logstash still writes old file after renaming , moving file.
i hesitant delete said file @ risk of causing service crash. few other posts indicated let go of file handle after few hours been days multiple renames , still writes same file.
the config options offer max file size according documentation isnt supported yet. there way force logstash write new log file without restarting service?
Comments
Post a Comment