The issue has been resolved.
The issue was that I have already created index and then
I was trying to push data from Logstash into the same index
which it was creating an issue.
I have delete index which I had created now logstash inserting data works fine.