summaryrefslogtreecommitdiffstats
path: root/utils/test/scripts/kibana_cleanup.py
diff options
context:
space:
mode:
authorSerenaFeng <feng.xiaowei@zte.com.cn>2016-09-13 13:53:46 +0800
committerSerenaFeng <feng.xiaowei@zte.com.cn>2016-09-14 00:34:42 +0800
commitced0a8742f31f1b597a3c76c7dcf72d62da2bbc8 (patch)
treebb41bc0c72e2ffcffec826ea5be11c72de4b17fa /utils/test/scripts/kibana_cleanup.py
parentae5c54cd7acb95defc0c8f0ec8a4ddeb0d85cfce (diff)
merge N days and whole database process and not publish existed data any way
JIRA: FUNCTEST-473 Change-Id: I2631fa04b0922afda2746cfd6be6f35587d534ba Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
Diffstat (limited to 'utils/test/scripts/kibana_cleanup.py')
-rw-r--r--utils/test/scripts/kibana_cleanup.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/test/scripts/kibana_cleanup.py b/utils/test/scripts/kibana_cleanup.py
index e8d452af2..e699db43c 100644
--- a/utils/test/scripts/kibana_cleanup.py
+++ b/utils/test/scripts/kibana_cleanup.py
@@ -13,7 +13,7 @@ logger.addHandler(file_handler)
def delete_all(url, es_creds):
- ids = shared_utils.get_elastic_data(url, es_creds, body=None, field='_id')
+ ids = shared_utils.get_elastic_docs(url, es_creds, body=None, field='_id')
for id in ids:
del_url = '/'.join([url, id])
shared_utils.delete_request(del_url, es_creds)