Once you've loaded the data into Elasticsearch, open up Grafana and create a new Elasticsearch data source using these options:
- Name: Elasticsearch (or whatever you prefer)
- HTTP/URL: http://elasticsearch:9200
- HTTP/Access: Server (default)
- Elasticsearchdetails/Indexname: data-index
- Elasticsearchdetails/pattern: No pattern
- Elasticsearchdetails/Timefieldname: Opened
- Elasticsearchdetails/Version: 7.0+
- Elasticsearchdetails/Mintimeinterval: 5m
The data source page should look something like this:
You may have noticed that while we have typically been using localhost to access servers such as Grafana and InfluxDB, we're using elasticsearch in this particular case. By default, Elasticsearch is not configured to allow Cross-Origin Resource Requests (CORS) that would be originated from a data...