input {
syslog {
type => "system-syslog"
host => "10.12.133.43"
port => "514"
}
}
filter {
}
output {
stdout {
codec => "rubydebug"
}
}
配置rsyslog
vim /etc/rsyslog.conf
*.* @@10.12.133.43:514
input {
syslog {
type => "system-syslog"
host => "10.12.133.43"
port => "514"
}
}
filter {
}
output {
stdout {
codec => "rubydebug"
}
}
配置rsyslog
vim /etc/rsyslog.conf
*.* @@10.12.133.43:514
本文标题:ELK-syslog-format-conf
本文链接:https://www.haomeiwen.com/subject/fecivhtx.html
网友评论