β‘ OT-LogBridge is a lightweight automation script designed for Operational Technology (OT) environments.
It ensures that critical logs are:
- π Processed β Updates timestamps for accuracy.
- π‘ Transferred β Securely forwarded to the history server.
- ποΈ Archived β Only the latest logs are sent to the Data Management (DM) Server.
- π€ The script is available in 2 langauges (Powershell and Python)
Note: It is recommended to use Powershell script for Windows-based OT systems, as it is the safer and easier choice. Choose Python if youβre building a cross-platform solution (Linux + Windows). If you want to integrate with advanced analytics (machine learning, dashboards) and if youβre prototyping outside OT (lab setup).
- β±οΈ Trigger-based execution (runs only when a new log file is updated).
- π Real-time log processing & timestamp updates.
- π€ FTP-based log transfer to history server.
- π§Ή Automated cleanup of daily log archives.
- βοΈ Dual delivery mechanism (continuous history + daily summary).
- π§ No manual intervention needed.
- π‘οΈ Lightweight, designed for OT/ICS systems.
- β Easier for OT engineers/auditors to check history without looking at console.
- Industrial Component β Generates/updates
Sensor_Log.txt - Script β Detects file updates everytime, processes with current timestamps of the system & uploads to History Server
- History Server β Maintains archive of all logs generate in the day.
- Data Management(DM) Server β Receives only the latest log at the end of the day.
Ideal for OT environments where log integrity, availability, and archival are critical for:
- π Industrial Control Systems (ICS).
- π Energy & Utilities.
- π¦ SCADA/PLC Monitoring.
(1) Change the path of Log file generated and ftp server ip & credentials
(2) Clone the repo for ruuning Python Script:
- git clone https://github.com/rohitburke/ChronoLog.git
- cd ChronoLog
- python ChronoLog.py
OR
(3) Clone the repo for ruuning Powershell Script:
- git clone https://github.com/rohitburke/ChronoLog.git
- cd ChronoLog
- powershell -ExecutionPolicy Bypass -File .\ChronoLog.ps1 -InstallService
- Start-Service ChronoLog
==> The script will:
- Watch for changes in Sensor_log.txt
- Process and upload logs automatically
- Log all activities in Logs/FileOutScript.log
- π SFTP/FTPS support.
- π Dashboard for log visualization.
- π§Ύ Compliance-ready log retention policies.
- π Push logs to SIEM (Splunk, ELK, QRadar) for more usability
- π Add checksum validation for file integrity.