Hi@akhtar,
You can use elasticsearch plugin to integrate Logstash with ElasticSearch. In your Logstash configuration file write down the below-given code.
output {
elasticsearch {
hosts => "localhost:9200"
index => "webdb"
document_type => "weblog"
}
}