mushorg / conpot

ICS/SCADA honeypot
GNU General Public License v2.0
1.21k stars 409 forks source link

Recording the logs of Conpot #588

Open Dimitrios79 opened 7 months ago

Dimitrios79 commented 7 months ago

It would be beneficial if we could record the logs in a JSON file during the run. Is it possible that we can record the JSON file locally? I have tried a few possibilities, but I could not make the recording.

glaslos commented 7 months ago

You mean structured logging in json format?

Dimitrios79 commented 7 months ago

Yes, exactly!

Harshiths1 commented 7 months ago

Locate the configuration file, typically named .cfg, and update it with the necessary settings for ex : [logging] (formatter = json) and then run with configuration file .