Store

A few settings determine weither data values for a variable should be logged into the time-series database (TSDB) or not. By default they are all set to enable logging.

  • Collector agent should be enabled in basic configuration file (default location is data/config.json).
_images/collectorAgentNode.png
  • Field Active in the OPC UA Server node settings dialog window should be checked. This dialog window can be opened by selecting server’s node in the Address Space panel and clicking on Edit button.
_images/EditServerActiveField.png
  • Setting in the column Log to TSDB of the Logged Variables table should be checked.
_images/LogToTSDB.png

For those variables for which all these conditions met, ogamma Visual Logger creates subscriptions and monitored items on OPC UA Server, and writes received data changes to the TSDB.

Database name by default is ogammalogger, table name is values. Creation of the database and table in it is performed by executing of the sql script at startup. Default script file name is data/init-db-postgres.sql.