Forward logs from rsyslog to Elasticsearch

Hi!
Need to use rsyslog to send data to Elasticsearh.

Could you provide link to documentation? Manual?

Thank you,

Regards,

Vassiliy

If you want to do this purely using Rsyslog, you probably need to ask that community as it is not supported here. If you instead were using Logstash I suspect this would be the right forum.

OK, I don't mind. Let's say I send my logs from rsyslog to logstash
Which way to configure logstash and rsyslog?