georgemakrakis / zeek-iec104

A Zeek Parser for the IEC 104 protcol built using Spicy.
Other
2 stars 3 forks source link

Inquiry on Log File Structure and Consolidation Impact #18

Open IamTenacious opened 2 weeks ago

IamTenacious commented 2 weeks ago

Hello @georgemakrakis ,

I have been working with the Zeek-IEC104 plugin and noticed that it generates 29 different types of log files. I would like to understand the rationale behind maintaining multiple log files instead of consolidating the data into a single log. Could you please explain why the plugin is designed this way and what the potential impact might be if I were to merge all the logs into a single log file? Specifically, I am interested in any performance implications, data organization considerations, and how this might affect the usability and analysis of the log data.

IamTenacious commented 1 week ago

@georgemakrakis please reply

georgemakrakis commented 1 day ago

@IamTenacious thank you for the insightful comment. This was a choice I made at the time to be able to distinguish between the basic information about the protocol in the iec104.log file and then each individual information object code log file will include the "payload" information that can be used to identify the precise action occurred in the monitored environment, What I would like to integrate is an enable/disable option for the individual information object code log files, to give the user the choice to utilize them on demand.

I am not sure about the implications about including all the possible information into a single log file, but I think the current structure of the main.zeek file might help you to get started with that. I have also yet to conduct any performance analysis regarding this parser to evaluate the impact of the current approach in terms of data organization, usability and analysis of the log data.