title: elastic search as grafana datasource
body: <p>Issue: Not able to get data flow from Elasticsearch to Grafana.</p>
  <p>I can able to connect to ES Kibana from browser to URL with basic auth (user id &amp; password).</p>
  <p>When I hit save and test in Grafana Datasource, I don't see any errors. But, I don't see any data showing up in my grafana panel.</p>
  <p>Datasource properties:</p>
  <pre><code>URL : http://example.com:5601 
  Access: Browser
  Auth: Basic Auth
  Index name: same name what I used in Kibana query
  Grafana Version: 7.0+
  Time field name: @timestamp
  Level field name: &lt;blank&gt;
  </code></pre>
  <p>I enabled CORS on ES.</p>
  <p>Appreciate your help</p>
  <p>Here is my Datasource configuration.</p>
  <p><a href="https://i.stack.imgur.com/AoOJA.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/AoOJA.png" alt="DataSource Settings" /></a></p>
  <p><a href="https://i.stack.imgur.com/oFiD5.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/oFiD5.png" alt="Panel" /></a></p>