Using the Logger Action

<< Click to Display Table of Contents >>

Manual > Monitoring system construction guide > Construction of main functions > Logging/trend graph >

Using the Logger Action

Purpose of Logger Actions

As actions for logging in FA-Server, "Summary Action" and "Logger Action" are provided. Summary Actions are actions that combine logging and aggregation functions, and you should use Summary Actions especially when performing aggregation such as daily reports.

 

On the other hand, there is a simple action called "Logger Action" that is more specialized for logging functions. Logger Actions do not include aggregation functions such as daily reports, so they can be used to more easily realize logging processing when you simply want to perform logging.

 

Although it is not mandatory to use the logger action, it is a good idea to keep it in mind as one of the logging options depending on the functions and purposes you need to build as a monitoring system. Note that the logger action can also be used in conjunction with the summary action.

 

 

■ Situations where Logger Action is more advantageous

 

1)If you want to link the log data generated by FA-Server with an external system, etc. Since the column titles can be included in the log data, you can understand the meaning of the fields just by opening the CSV file in the external system or Excel, etc.
 

2)If you need logging faster than 1 second intervals: Summary actions can log at up to 1 second intervals, but logger actions can log at millisecond intervals.

 

 

■ Simple comparison of logger actions and summary actions

 

Below is a quick comparison table of both actions. For more information on the differences between the two, see "Differences between Logger Actions and Summary Actions".

 

Comparison items

Logger Actions

Summary Actions

Logging Cycle

 

Logging is possible down to milliseconds.

 

The fastest cycle is 1 second.

Log Format

 

In addition to general time-series logs, event log format can also be generated.

 

Only general time-series logs are supported.

 

Aggregation function

 

none.

 

It is possible to compile daily reports, etc.

 

Reporting

 

none.

 

Report functions include daily report screen, daily report printing, and Excel output.

 

 

 

Using the Logger Action

The following content explains how to build a logging function using the logger action.

 

content

overview

Export log data to CSV (Logger CSV)

 

This section explains how to use the Logger (CSV) action to log to a CSV file using an example.

 

Write log data to DB (Logger ODBC)

 

This section explains how to use the Logger (ODBC) action to log to a database using an example.

Logger action sample collection

 

The content on the left provides various examples of using logger actions.