summaryrefslogtreecommitdiffstats
path: root/utils/test/dashboard/kibana_cleanup.py
diff options
context:
space:
mode:
Diffstat (limited to 'utils/test/dashboard/kibana_cleanup.py')
-rw-r--r--utils/test/dashboard/kibana_cleanup.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/test/dashboard/kibana_cleanup.py b/utils/test/dashboard/kibana_cleanup.py
index 9ce4994f5..ee0190049 100644
--- a/utils/test/dashboard/kibana_cleanup.py
+++ b/utils/test/dashboard/kibana_cleanup.py
@@ -14,10 +14,10 @@ logger.addHandler(file_handler)
def delete_all(url, es_creds):
- ids = elastic_access.get_elastic_docs(url, es_creds, body=None, field='_id')
+ ids = elastic_access.get_docs(url, es_creds, body=None, field='_id')
for id in ids:
del_url = '/'.join([url, id])
- elastic_access.delete_request(del_url, es_creds)
+ elastic_access.delete_docs(del_url, es_creds)
if __name__ == '__main__':