# Cant add Elasticsearch datasource to Grafana?

**URL:** <https://community.grafana.com/t/cant-add-elasticsearch-datasource-to-grafana/30484>\
**Category:** General\
**Created:** [May 19, 2020, 9:47am UTC](https://community.grafana.com/t/cant-add-elasticsearch-datasource-to-grafana/30484 "2020-05-19T09:47:02Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![florrieford](https://avatars.discourse-cdn.com/v4/letter/f/59ef9b/32.png) [@florrieford](https://community.grafana.com/u/florrieford)\
**Post date:** [May 19, 2020, 9:47am UTC](https://community.grafana.com/t/cant-add-elasticsearch-datasource-to-grafana/30484/1 "2020-05-19T09:47:02Z")

</div>

I am having issues trying to create a datasource and wondered if there is character limitation in Grafana for the length of name for an index ? Has anyone had anything similar at all ?

---

<div class="post-metadata">

**Author:** ![faolan0](https://avatars.discourse-cdn.com/v4/letter/f/dec6dc/32.png) [@faolan0](https://community.grafana.com/u/faolan0)\
**Post date:** [May 20, 2020, 9:44am UTC](https://community.grafana.com/t/cant-add-elasticsearch-datasource-to-grafana/30484/2 "2020-05-20T09:44:17Z")

</div>

Hi,

Didn’t encounter any index-length issues yet.  
Even thou the documentation says wildcards are supported for the index name, I don’t think it’s possible. (except for the buildin time/date Patterns)  
Can you try configuring with a fixed index, if that’s not the case?

Also make sure to select the correct Elasticsearch version.
