Syslog is not consuming logs from rsyslog server

I am having below configuration for rsyslog server to output it to logstash,

$tail /etc/rsyslog.d/70-output.conf

*.* @@logstash:5514

And in logstash.conf I have configured it as follows,

input {
syslog {
type => "syslog"
port => "5514"
}
}

output {
file {
path => "/var/log/logstash/debug.log"
codec => "json"
}
}

How can I debug it further?

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.