Forward T-Pot logs to syslog host / Adjust logstash.conf to your needs #1806
t3chn0m4g3
announced in
Config Examples & Tutorials
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
The Elastic Stack (Logstash) now includes the Syslog Output Plugin.
Logstash Configuration Customization (recommended only on Hive)
The Logstash configurations must be customized using volumes. To do this, stop T-Pot (
sudo systemctl stop tpot
) and then modify bothlogstash.conf
andhttp_input.conf
located intpotce/docker/elk/logstash/dist
for example:In the
docker-compose.yml
file located attpotce/docker-compose.yml
, add two volumes to the configuration of the Logstash service:Logstash service
Then start T-Pot (
sudo systemctl start tpot
) again.Monitor the logs with (
docker compose logs
; run this command directly in thetpotce
folder) in case something doesn't work as expected.Important Notes:
modified_logstash.conf
andmodified_http_input.conf
are the names of the files you will create with your custom configurations. You'll need to create these files locally before running docker-compose.Beta Was this translation helpful? Give feedback.
All reactions