How to accept rsyslog on logstash with filebeat

I want to send logs from rsyslog server to logstash and then to Elasticsearch.
But I want to send rsyslog with installing filebeat .

Can you please tell me how to accept the rsyslog on logstash server.
What settings I need to do on logstash and Elasticsearch.