summaryrefslogtreecommitdiffstats
path: root/dashboard
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
commitf4a7905e60f5b350a0aa3befe70476552230f359 (patch)
treeaba629ae803fbd59857305019490a91b4e74e30c /dashboard
parentbaae6fe3223abd869d4de21e0c51fe44f6f6c846 (diff)
rename elasticsearch index of kibana_dashboard
JIRA: FUNCTEST-508 Change-Id: I3c12d76438fd55922ece62aa5ab98cbf03a7facd Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
Diffstat (limited to 'dashboard')
-rw-r--r--dashboard/dashboard/elastic2kibana/main.py2
-rw-r--r--dashboard/dashboard/mongo2elastic/main.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/dashboard/dashboard/elastic2kibana/main.py b/dashboard/dashboard/elastic2kibana/main.py
index 9ee8942..4542c31 100644
--- a/dashboard/dashboard/elastic2kibana/main.py
+++ b/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/dashboard/dashboard/mongo2elastic/main.py b/dashboard/dashboard/mongo2elastic/main.py
index 303d82c..8c7300b 100644
--- a/dashboard/dashboard/mongo2elastic/main.py
+++ b/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