Add check for els nodes in config

This commit is contained in:
gezimbll
2023-06-08 11:13:31 -04:00
committed by Dan Christian Bogos
parent 469f77d1fd
commit f780621625
7 changed files with 32 additions and 7 deletions

View File

@@ -359,10 +359,12 @@
{
"id": "ElasticsearchExporterCluster",
"type": "*els",
"export_path": "http://192.168.56.64:9200;http://192.168.56.22:9200",
"export_path": "http://192.168.56.22:9200;http://192.168.56.64:9200",
"attempts": 1,
"opts": {
"elsIndex": "cdrs",
"discoverNodesInterval":"30s",
"discoverNodesOnStart":true,
//"elsIfPrimaryTerm": 0,
//"elsIfSeqNo": 0,
"elsOpType": "",