Files
tpotce/docker/elk/logstash/dist/http_input.conf
t3chn0m4g3 175e1944c2 Bump Elastic Stack to 8.18.3
- Logstash: include syslog output plugin and config example
2025-06-30 16:06:45 +02:00

29 lines
698 B
Plaintext

# Input section
input {
http {
id => "tpot"
host => "0.0.0.0"
port => "64305"
ecs_compatibility => disabled
}
}
# Output section
output {
elasticsearch {
hosts => ["elasticsearch:9200"]
# With templates now being legacy we need to set the daily index with its template manually. Otherwise a new index might be created with differents settings configured through Kibana.
index => "logstash-%{+YYYY.MM.dd}"
template => "/etc/logstash/tpot-template.json"
template_overwrite => "true"
}
# Syslog Output Example
# syslog {
# host => "192.168.1.1"
# port => 514
# protocol => tcp
# appname => "logstash-logs"
# severity => "6"
# }
}