Docker json log file help

I’m not expert at Docker, but I have seen a container wipe out the space on a VM today.

When I looked it was this json.log file with the container for InfluxDB, the DB is for LibreNMS as I use LibreNMS in Grafana via Influx.

I had to stop the container then remove it and start it up again to get 20GB back.

What steps can I take to help with this growing as we don’t need this much log data.

This is the docker compose file, starts at line 19.

https://pastebin.com/Uj4kxU9D

Thanks

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.