"Could not parse log line" with RFC3339
Hi, we are trying to use lightmeter, but it doesn't show any graphs in the web interface, and doesn't seem to read our log files. The output is saying this for every line in the log files:
2021-05-21T19:19:00+02:00 WRN builds/lightmeter/controlcenter/logeater/dirwatcher/dir_importer.go:751 > Could not parse log line in {18698 mail.log.4.gz} instanceid=6fa81a55-f22e-414c-bb0e-457fd9c0eaa9 service=controlcenter
Our lightmeter command is this:
lightmeter -watch_dir /var/log -log_format prepend-rfc3339 -verbose -workspace /var/lib/lightmeter_workspace -listen localhost:8080
We changed the log format system-wide to (I think) RFC3339. Does it maybe have a problem with that? Without -log_format prepend-rfc3339
it showed the same error.
Version number of controlcenter
Version: 1.6.0
Postfix version
Version: 3.4.14
Sqlite version
$ sqlite3 -version
3.27.2 2019-02-25 16:06:06 bd49a8271d650fa89e446b42e513b595a717b9212c91dd384aab871fc1d0alt1
Attach logs
Which Operating System and version are you using?
$ lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux 10 (buster)
Release: 10
Codename: buster