Skip to content

Logging modes

The Logging mode setting decides what a component sends or writes for the members of its selected tag collections on each interval. There are three modes: Snapshot, On Change and Everything.

The three modes

  • Snapshot sends or writes the current value of every collection member on each interval, whether or not the value changed.
  • On Change sends or writes only values that have changed.
  • Everything sends or writes every sample that arrives, including unchanged values.

Snapshot is the default on every component page that states a default. Everything gives the most detailed recording and the largest volume of data. Choose the mode that matches the resolution of measurement you need.

How the update interval applies

In Snapshot mode the interval is how often the current value of each member is sent or written. In On Change and Everything modes the interval is how often the pending changes or samples are sent, or flushed to the file or database. The pages for the Message Queuing Telemetry Transport (MQTT) Publisher, the Webhook Publisher, the file and tag loggers, and the Structured Query Language (SQL) historian state this explicitly. The pages for InfluxDB and Prometheus logging and the InfluxDB historians say that the mode sets what is sent on each interval. The next section links each page.

Components that offer logging modes

These component pages list a Logging mode setting:

The Tag Relay Sender has a Snapshot interval (seconds) setting and no Logging mode. It sends a full snapshot of the selected collections at a fixed interval, as described on Tag Relay Sender. The How to configure data logging guide shows where to set the mode in the loggers and publishers it covers.