summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSerena Feng <feng.xiaowei@zte.com.cn>2016-10-13 01:16:42 +0000
committerGerrit Code Review <gerrit@opnfv.org>2016-10-13 01:16:42 +0000
commitbc7e5d135b6d7e542ceeac972a14127c7c66163e (patch)
tree4967035f4182a0d4dc96b52c24844ca8d104a16c
parent558d500782ddd935c59961f757dec052830a9524 (diff)
parentf4a7905e60f5b350a0aa3befe70476552230f359 (diff)
Merge "rename elasticsearch index of kibana_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