Collecting logs from Schneider Citect SCADA and sending them to Graylog could be a complex task because of the unique combination of the log source and the desired destination. In this post we will take a look at how you can forward log data from Schneider Citect SCADA to Graylog by incorporating the NXLog log collection tool.
Citect SCADA is a Supervisory Control and Data Acquisition solution from Schneider Electric that is typically deployed in the manufacturing industry for monitoring and controlling production equipment and the delivery of utilities. It is used for both large manufacturing plants as well as smaller facilities, allowing you to analyze data using enhanced configuration capabilities. Citect SCADA can monitor your operational systems in real time and retrieve important plant-related data since it is the main user interface in your production environment.
Citect SCADA produces a wide variety of logs about its operation. Some of the logs are available through Windows Event Log, but most of the logs are in the format of flat files.
Due to the critical nature and scope of the systems Citect SCADA controls, there is no room for errors. Its stable, uninterrupted operation is crucial to plant safety. Although the logs Citect SCADA generates contain valuable information about the systems it controls, the relatively high level of log noise and the lack of a consistent log format present some challenges.
NXLog Enterprise Edition is a lightweight, modular log collection tool, capable of tackling the most demanding cases log collection may pose. Owing to its rich set of features, it can read almost any log format and parse fields to produce structured data for further processing. For these reasons, it is the perfect tool for monitoring and collecting Citect SCADA logs.
- Collecting Citect SCADA logs from Windows Event Log
Windows Event Log is the main log aggregation framework on the Windows platform. The logs Citect SCADA generates contain driver traffic, updates, and system related information. Citect SCADA creates two distinct Windows Event Log entries for Schneider Electric: SUT Service for Schneider Electric software updates and Runtime Manager logs. It can also read directly from the Schneider Electric SUT Service source.
- Collecting Citect SCADA logs from file
File-based logs of Citect SCADA include; change log, syslog, tracelog as well as software update logs. These logs are stored in the C:\ProgramData\Schneider Electric\Citect SCADA 2018\Logs directory and, in most cases, do not follow a consistent formatting scheme.
- Network Monitoring on Citect SCADA
NXLog provides a specific feature that collects events from the communication channels between Citect SCADA devices and other computers on the network. This feature is another possible source for log collection because it supports the passive monitoring of network traffic by generating logs for various industry standard protocols.
The easiest way to collect and normalize Citect SCADA log data is to use NXLog. With its unique capabilities, it can collect logs from literally any file, in any format. Given the wide variation in format and structure of such log files, NXLog is ideally suited for these systems.
For more information on how to integrate NXLog with Citect SCADA, you can find detailed documentation here.
The above mentioned sources, and the features NXLog provides all play an important role when normalizing logs in order to be accepted by Graylog.
Graylog is a popular open source log collection tool that supports centralized log collection, data visualization, searching, and analysis. With its wide range of features, Graylog allows your security team to more effectively monitor the security of your IT infrastructure and to swiftly identify and act on security incidents.
To enable logs to be accepted by Graylog, from NXLog, you must first set up your appliance with the appropriate input source, in the Graylog web interface. This is done simply by navegating to system and then inputs. Here, you can establish if the input source is via UDP or TCP. However, if choosing to send logs over TLS (Transport Layer Security), you must configure your TLS certification file as well as your TLS private key file.
- Log sources
Setting up a generic log source in Graylog is important if you wish to send logs from a source that is not among Graylog’s list of predefined log sources. This can be achieved by sending logs to Graylog using GELF (Graylog Extended Log Format).
Forwarding logs to Graylog with NXlog is straightforward and can be accomplished by following simple configuration steps.