Filebeat made my disk full in less than one day

Using filebeat made my disk full in less than one day!!! Is there any config I could apply to filebeat.yml to avoid this please? Using this tool is really dangerous. Prod servers are suddenly full for no reason.

How much disk space do you have in the cluster?

How much data have you ingested?

What does your configuration look like?

What is the specification of your cluster?

What does your filebeat config look like?

Which version are you using?