How to do Hive-logstash integration?

I want to connect hive through Logstash to ingest data in Elasticsearch. What is the correct configuration to achieve the connection?