Closed packet808 closed 6 years ago
No.
Do you think for the next version, which is 18, do you consider to have an alert or notifications?
Thank you for quick response.
No, since almost everyone wants to use a different alert method (eMail, Syslog, SMS, Pagerduty, Pushover, ...) and it also can be easily achieved if you mount a modified logstash.conf
into the logstash container. There are tons of output plugins available for logstash, which should meet all your alerting requirements.
Example for conditional logstash.conf
output section:
# Output section
output {
elasticsearch {
hosts => ["localhost:9200"]
}
# Debug output
#stdout {
# codec => rubydebug
#}
# Example for conditional output using alerta-cli (http://alerta.io/)
# Of course you can also modify to transmit events to Splunk, Hipchat or anything of your liking
#if [type] == "ConPot" {
# exec {
# command => "alerta --endpoint-url http://<ip>:<port>/api send -r <host>-Conpot -e Alert -E Production -S Conpot -s major -t <ip>"
# }
#}
#if [type] == "Cowrie" {
# exec {
# command => "alerta --endpoint-url http://<ip>:<port>/api send -r <host>-Cowrie -e Alert -E Production -S Cowrie -s major -t <ip>"
# }
#}
#if [type] == "Dionaea" {
# exec {
# command => "alerta --endpoint-url http://<ip>:<port>/api send -r <host>-Dionaea -e Alert -E Production -S Dionaea -s major -t <ip>"
# }
#}
#if [type] == "ElasticPot" {
# exec {
# command => "alerta --endpoint-url http://<ip>:<port>/api send -r <host>-Elasticpot -e Alert -E Production -S Elasticpot -s major -t <ip>"
# }
#}
#if [type] == "eMobility" {
# exec {
# command => "alerta --endpoint-url http://<ip>:<port>/api send -r <host>-eMobility -e Alert -E Production -S eMobility -s major -t <ip>"
# }
#}
#if [type] == "Glastopf" {
# exec {
# command => "alerta --endpoint-url http://<ip>:<port>/api send -r <host>-Glastopf -e Alert -E Production -S Glastopf -s major -t <ip>"
# }
#}
#if [type] == "Honeytrap" {
# exec {
# command => "alerta --endpoint-url http://<ip>:<port>/api send -r <host>-Honeytrap -e Alert -E Production -S Honeytrap -s major -t <ip>"
# }
#}
}
where is the logstash.conf file?
I created a manual how to create and configure Mail Alerts for Tpot:
https://github.com/TDanny/Honeypot-Realtime-Mail-Alert-project
Enjoy , I hope you will find it useful.
Hi Tpot Team,
is the latest version 17 has a functionality of notifications or alert?
Your utmost reply is appreciated?