I am currently working on sending Logstash logs to AWS Elasticsearch. I am unable to get data for same.
What do you mean?
By that I mean configuration details to be written in Logstash output file
Start with any example from the documentation and insert the current hostname(s) etc that apply to your environment. Try it out, inspect the Logstash logs, and iterate the configuration until it works.
Absent a more specific question this is about as specific answer as you're going to get.