Sending syslog logs through logstash

I've configure rsyslog server logs are coming at the server side

input {
tcp {
port => 10514
}
}
output {
elasticsearch 
{
hosts => "localhost:9200"
index => "client-syslog-%{+YYYY.MM.dd}"
} }

the rsyslog logs are coming on /var/log/remote/server/(server side)
no index is created in kibana.
I also tried this

input {
syslog {
port => 10514
}
}

nothing works

Please don't make multiple threads on the same topic, let's continue the discussion here - Sending Rsyslog data to logstash