Hi, i have problems with elasticsearch 5+ and pump. It works fine with elasticsearch version 2+, but when i change to the new version occurs the following error:
Elasticsearch connection failed: no Elasticsearch node available
This is my pump.conf:
{
"analytics_storage_type": "redis",
"analytics_storage_config": {
"type": "redis",
"host": "localhost",
"port": 6379,
"hosts": null,
"username": "",
"password": "",
"database": 0,
"optimisation_max_idle": 100,
"optimisation_max_active": 0,
"enable_cluster": false
},
"purge_delay": 10,
"pumps": {
"elasticsearch": {
"name": "elasticsearch",
"meta": {
"index_name": "tyk_analytics",
"elasticsearch_url": "127.0.0.1:9200",
"enable_sniffing": true,
"document_type": "tyk_analytics",
"rolling_index": false,
"extended_stats": false,
"version": "5"
}
}
},
"dont_purge_uptime_data": true
}
Can you guys help me? i’m using the community version.