Import data from MySQL to Elasticsearch

Hello,
How to import data from MySQL to Elasticsearch via Logstash...
how to configure... thank you

https://www.elastic.co/guide/en/logstash/current/plugins-inputs-jdbc.html