Adding Elasticsearch datasource fails with empty error

Hi,
I installed Grafana on my elasticsearch node and tried to add elasticsearch as a datasource but it failed with an empty error: - no error code is visible. Anyone know what the error could be?

Using:
Type: Elasticsearch
URL: My elasticsearch url (:9200)
Access: direct
Basic Authentication with credentials
User/passwd
Index name - my index. No pattern
Version 5.x (we’re on 5.2)

Regards,
Mikael Lindstrom

Hi,

Sounds like a CORS problem since you’re using direct mode. If you can, please try the proxy mode. Otherwise configure CORS is elastic to allow grafana .

If other problem please check grafana server log.

Marcus