LibreNMS Docker creating huge json log file, please help!

Hello,

I’m running LiberNMS as a Docker using docker compose.

I’ve noticed my Ubuntu VM has a 19GB json file here:

/var/lib/docker/containers/58dd6ac46e4af611c9d8271e9381f834896ee357ea6e0ed72213269cd1588b74#

and the file is called:

58dd6ac46e4af611c9d8271e9381f834896ee357ea6e0ed72213269cd1588b74-json.log

When I look in it is just looks like this:

{“log”:"[httpd] 10.10.105.15 - librenms [11/Jun/2021:11:12:29 +0000] “POST /write?db=librenmsdb\u0026precision=n HTTP/1.1” 204 0 “-” “GuzzleHttp/7” e95dabf7-caa5-11eb-bc70-0242ac120002 1878\n",“stream”:“stderr”,“time”:“2021-06-11T11:12:29.85980861Z”}
{“log”:"[httpd] 10.10.105.15 - librenms [11/Jun/2021:11:12:29 +0000] “POST /write?db=librenmsdb\u0026precision=n HTTP/1.1” 204 0 “-” “GuzzleHttp/7” e95e3bb9-caa5-11eb-bc71-0242ac120002 14084\n",“stream”:“stderr”,“time”:“2021-06-11T11:12:29.87577557Z”}

It looks like it’s the influxdb database in Grafana talking to LibreNMS.

What can I do to limit this?

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