After many years of running influx 1.8 without any issue we’re just coming around to tuning and learning more about its inner workings.
One of the first issues to come up is logging frequency. The following logs show up about every 30 seconds. If these are routine and expected I’d like to know how to mute them. I realize there are some tuning parameters for cache-snapshot-*
but it isn’t clear to me how this might impact my current configuration.
My config is very bland and included below.
Jan 5 07:51:30 influx001 influxd-systemd-start.sh[2816629]: ts=2024-01-05T15:51:30.552588Z lvl=info msg="Cache snapshot (start)" log_id=0mXwlFz0000 engine=tsm1 trace_id=0mY_~ez0000 op_name=tsm1_cache_snapshot op_event=start
Jan 5 07:51:30 influx001 influxd-systemd-start.sh[2816629]: ts=2024-01-05T15:51:30.552588Z lvl=info msg="Cache snapshot (start)" log_id=0mXwlFz0000 engine=tsm1 trace_id=0mY_~ez0000 op_name=tsm1_cache_snapshot op_event=start
Jan 5 07:51:31 influx001 influxd-systemd-start.sh[2816629]: ts=2024-01-05T15:51:31.455532Z lvl=info msg="Snapshot for path written" log_id=0mXwlFz0000 engine=tsm1 trace_id=0mY_~ez0000 op_name=tsm1_cache_snapshot path=/var/lib/influxdb/data/telegraf/autogen/4103 duration=902.958ms
Jan 5 07:51:31 influx001 influxd-systemd-start.sh[2816629]: ts=2024-01-05T15:51:31.455532Z lvl=info msg="Snapshot for path written" log_id=0mXwlFz0000 engine=tsm1 trace_id=0mY_~ez0000 op_name=tsm1_cache_snapshot path=/var/lib/influxdb/data/telegraf/autogen/4103 duration=902.958ms
Jan 5 07:51:31 influx001 influxd-systemd-start.sh[2816629]: ts=2024-01-05T15:51:31.455560Z lvl=info msg="Cache snapshot (end)" log_id=0mXwlFz0000 engine=tsm1 trace_id=0mY_~ez0000 op_name=tsm1_cache_snapshot op_event=end op_elapsed=902.984ms
Jan 5 07:51:31 influx001 influxd-systemd-start.sh[2816629]: ts=2024-01-05T15:51:31.455560Z lvl=info msg="Cache snapshot (end)" log_id=0mXwlFz0000 engine=tsm1 trace_id=0mY_~ez0000 op_name=tsm1_cache_snapshot op_event=end op_elapsed=902.984ms
[meta]
dir = "/var/lib/influxdb/meta"
[data]
dir = "/var/lib/influxdb/data"
wal-dir = "/var/lib/influxdb/wal"
query-log-enabled = false
series-id-set-cache-size = 100
[coordinator]
[retention]
[shard-precreation]
[monitor]
[http]
auth-enabled = true
https-enabled = true
https-certificate = "/etc/letsencrypt/live/somewhere.io/fullchain.pem"
https-private-key = "/etc/letsencrypt/live/somewhere.io/privkey.pem"
log-enabled = false
shared-secret = "foobar"
[logging]
[subscriber]
[[graphite]]
[[collectd]]
[[opentsdb]]
[[udp]]
[continuous_queries]
log-enabled = false
[tls]