From f7675eff1f9ee9a772463c8c095f5ce43ba2dc13 Mon Sep 17 00:00:00 2001 From: Krysiak Adam Date: Thu, 4 Apr 2019 10:18:42 +0200 Subject: Add new visualizations + new kibana + new Logstash Change-Id: If49336c8402ee826863237f996a659bf6ea7b08d Issue-ID: CLAMP-341 Signed-off-by: Krysiak Adam --- src/main/docker/kibana/backup.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/main/docker/kibana/backup.py') diff --git a/src/main/docker/kibana/backup.py b/src/main/docker/kibana/backup.py index 4127eb23c..a2dab2222 100755 --- a/src/main/docker/kibana/backup.py +++ b/src/main/docker/kibana/backup.py @@ -66,10 +66,10 @@ def main(): base_config_path = args.configuration_path - # get list of all objects available - url = "%s/api/saved_objects/" % (args.kibana_host.rstrip("/"),) + # get list of the set of objects we update + url = "%s/api/saved_objects/_find" % (args.kibana_host.rstrip("/"),) saved_objects_req = requests.get(url, - params={'per_page': PER_PAGE}) + params={'per_page': PER_PAGE,'type':['config','search','dashboard','visualization','index-pattern']}) saved_objects = saved_objects_req.json()['saved_objects'] -- cgit 1.2.3-korg