Elasticsearch integration with grafana

HI Team,

I tried to integrate my elastic search with grafana my elastic search response is as follows . But while i am trying to give the url in grafana with elastic data source i am getting error.

Below is my elastic url response:


{"_index":“products”,"_type":“product”,"_id":“1”,"_version":1,“found”:true,"_source":{ “title”: “Product A”,“description”: “Brand A - Product A - 1.5 kg”,“price”: 3.49,“sku”: “wi208564”,“supermarket”: “AJ”,“categories”: “Fruit AJ”,“product_type”: “Sinaasappels - mandarijnen”,“brand”: “Brand A\n”}}

So i am giving the above url in grafana and trying to create a elasticsearch datasource. But getting the error while creating the datasource

Below error

Request URL: http://localhost:3000/api/datasources/proxy/3/logstash-2018.04.05/_mapping
Request Method: GET
Status Code: 400 Bad Request
Remote Address:
Referrer Policy: no-referrer-when-downgrade