Grafana Installation with ElasticSearch

I am very new to this Grafana. Trying out Grafana with ElasticSearch. I am getting an error when i try to save the Datasource.

When i Select “Save & Test”, i am getting a 400 symbol on the screen.
May i know what could i do to clear the issue?