rename elasticsearch index of kibana_dashboard 95/22995/1
authorSerenaFeng <feng.xiaowei@zte.com.cn>
Wed, 12 Oct 2016 03:29:35 +0000 (11:29 +0800)
committerSerenaFeng <feng.xiaowei@zte.com.cn>
Wed, 12 Oct 2016 03:29:35 +0000 (11:29 +0800)
JIRA: FUNCTEST-508

Change-Id: I3c12d76438fd55922ece62aa5ab98cbf03a7facd
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
utils/test/dashboard/dashboard/elastic2kibana/main.py
utils/test/dashboard/dashboard/mongo2elastic/main.py

index 9ee8942..4542c31 100644 (file)
@@ -132,7 +132,7 @@ class KibanaConstructor(object):
         })
 
         elastic_data = elastic_access.get_docs(
-            urlparse.urljoin(CONF.es_url, '/test_results/mongo2elastic'),
+            urlparse.urljoin(CONF.es_url, '/testapi/results'),
             CONF.es_creds,
             query)
 
index 303d82c..8c7300b 100644 (file)
@@ -241,7 +241,7 @@ class DocumentsPublisher(object):
 
 
 def main():
-    base_elastic_url = urlparse.urljoin(CONF.es_url, '/test_results/mongo2elastic')
+    base_elastic_url = urlparse.urljoin(CONF.es_url, '/testapi/results')
     days = args.latest_days
     es_creds = CONF.es_creds