summaryrefslogtreecommitdiffstats
path: root/src/main/docker/kibana/backup.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/docker/kibana/backup.py')
-rwxr-xr-xsrc/main/docker/kibana/backup.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main/docker/kibana/backup.py b/src/main/docker/kibana/backup.py
index 4127eb23..a2dab222 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']