aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/docker/kibana/backup.py
diff options
context:
space:
mode:
authorKrysiak Adam <adam.krysiak@nokia.com>2019-04-04 10:18:42 +0200
committerosgn422w <gervais-martial.ngueko@intl.att.com>2019-04-04 15:23:02 +0200
commitf7675eff1f9ee9a772463c8c095f5ce43ba2dc13 (patch)
treee8a7c6fbf2854af6f51f7fae68dd4a6d7e666796 /src/main/docker/kibana/backup.py
parent8d36cfd7ccec9ea9a55894eeafba00da6037747d (diff)
Add new visualizations + new kibana + new Logstash
Change-Id: If49336c8402ee826863237f996a659bf6ea7b08d Issue-ID: CLAMP-341 Signed-off-by: Krysiak Adam <adam.krysiak@nokia.com>
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 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']