Closed I-Simon-I closed 1 year ago
Please follow this comment.
I don't want to export the logs to another endpoint, I wanna keep it within the main HIVE but I would like to apply filters and use logstash output to generate alerts but the logstash.conf file doesn't seem to work as it did for the standalone version
Hi !
I've been using T-Pot standalone on multiple VM for a few weeks and I managed to set it up the way I wanted. However I was asked to use the distributed deployement rather than multiple standalone. I installed T-Pot on every VM and linked them all to the HIVE using the deploy.sh command. Everything works fine, logs are coming through but I can't find a way to make the email alerts work on this install. For some reason, my logstash.conf file aren't "used" by logstash. It seems like the logstash in the distributed version is using another logstash.conf other than the two I've modified. Email alerts aren't generated and the tag "_geoip_lookup_failure" is present in every log even though I've disabled it.
That would be very helpful if someone could help me understand where I have to modify the logstash.conf file in order for the logs to be processed (changes described below) the way I need them to be. This would also allow me to better understand how logs are processed between the sensors and the hive.
PS : It's worth noting that whenever I restart tpot on the HIVE, every container goes down and keeps crashing for a few minutes then they all go up. However, when I reboot, it starts normally
Thx for your time !
- What version of the OS are you currently using
lsb_release -a
anduname -a
?- What T-Pot version are you currently using?
- What edition (Standard, Nextgen, etc.) of T-Pot are you running?
- What architecture are you running on (i.e. hardware, cloud, VM, etc.)?
- Did you have any problems during the install? If yes, please attach
/install.log
/install.err
.- How long has your installation been running?
- Did you install upgrades, packages or use the update script?
- Did you modify any scripts or configs? If yes, please attach the changes.
Changes :
Added throttle that adds the tag "email" for the first 10 logs of each honeypot
Dropped NGINX logs because it was too noisy
Disabled GEOIP coordinates tags
Added output settings to send email alerts
I have disabled the following services :
Suricata
Fatt
P0f
Spiderfoot
Added the volume to the container in tpot.yml
- Please provide a screenshot of
glances
andhtop
.- How much free disk space is available (
df -h
)?-- What is the current container status (
dps.sh
)?- What is the status of the T-Pot service (
systemctl status tpot
)?- What ports are being occupied? Stop T-Pot
systemctl stop tpot
and runnetstat -tulpen