aosei37 / Group1F-Ctrl-Alt-Elite

HACS200 (Applied Cybersecurity Foundations II) Honeypot Project
1 stars 0 forks source link

(NEW) Retrieving Logs Changes #17

Closed aosei37 closed 2 years ago

aosei37 commented 3 years ago

This issue describes the addition of the transfer files and zipping script for the data collection portion of the honeypot architecture

aosei37 commented 3 years ago

Zipping Logs Script

In order to more formally organize all the logs collected each day (4 logs collected every half-hour = 192 logs per day), I created a zipping script that compressed all the logs for the day into a .zip file to declutter the main MITMLogs directory. This was placed in the crontab to happen once per day at midnight of the previous day's logs. Script: image

Transferring Files to Workstation

To create a space to parse the logs, I created a transferring script which scp the previous day's zipped folder of logs to the workstation once per day at midnight, Script: image