summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSerenaFeng <feng.xiaowei@zte.com.cn>2016-10-12 11:29:35 +0800
committerSerenaFeng <feng.xiaowei@zte.com.cn>2016-10-12 11:29:35 +0800
commit898fbb54b0bd1f0c576d15f516a8e67130c1268e (patch)
treea7a6a4f2ac5b3287a99d0bbea3e058463f4699ab
parentd9ab655653e2d343a8eac7560c50c6bed632a09f (diff)
rename elasticsearch index of kibana_dashboard
JIRA: FUNCTEST-508 Change-Id: I3c12d76438fd55922ece62aa5ab98cbf03a7facd Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
-rw-r--r--utils/test/dashboard/dashboard/elastic2kibana/main.py2
-rw-r--r--utils/test/dashboard/dashboard/mongo2elastic/main.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/utils/test/dashboard/dashboard/elastic2kibana/main.py b/utils/test/dashboard/dashboard/elastic2kibana/main.py
index 9ee894279..4542c31ec 100644
--- a/utils/test/dashboard/dashboard/elastic2kibana/main.py
+++ b/utils/test/dashboard/dashboard/elastic2kibana/main.py
@@ -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)
diff --git a/utils/test/dashboard/dashboard/mongo2elastic/main.py b/utils/test/dashboard/dashboard/mongo2elastic/main.py
index 303d82c6f..8c7300b79 100644
--- a/utils/test/dashboard/dashboard/mongo2elastic/main.py
+++ b/utils/test/dashboard/dashboard/mongo2elastic/main.py
@@ -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