Logstash Log File is Filling Up Disk

Hi, we are using logstash, to forward the logs of docker container with the help of filebeat.
However, after 4 days of running the node's disk becomes full which is running logstash container.
On debugging found out that, logstash.log file size which contains the processing information of logstash had increased in GB's. We have verbose logging enabled, which is an requirement. Is there any log rotation policy available, if yes, how can it be configured.

Logstash has not built-in log rotation, so you'll want to use the standard logrotate tool for that. You may have to restart Logstash for it to understand that the log was rotated and that the log file needs to be reopened.