Logstash
Syslog output plugin
input {
file {
path => "/var/log/syslog"
type => "syslog"
start_position => "beginning"
}
filter {
uuid {
target => "uuid"
}
}
output {
syslog { appname => "my-awesome-app"
host => "ascent-server-dns.my-domain.com"
protocol => "ssl-tcp"
msgid => "%{uuid}"
ssl_cert => "client.crt"
ssl_key => "client.key"
ssl_cacert => "ca.crt"
ssl_verify => true
port => "7514"
rfc => "rfc5424"
id => "%{uuid}"
}
stdout { codec => rubydebug }
}HTTP output plugin
Last updated
Was this helpful?