aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/docker/kibana/backup.py
diff options
context:
space:
mode:
authorGervais-Martial Ngueko <gervais-martial.ngueko@intl.att.com>2019-04-04 13:40:40 +0000
committerGerrit Code Review <gerrit@onap.org>2019-04-04 13:40:40 +0000
commitd10114aeb050d7a3e1e782e48ad446dfeebf388f (patch)
tree1d0d3990ccf2618d37426094844118b385c837b7 /src/main/docker/kibana/backup.py
parent3772c8513f618f9b76fc7bfa55fa140eb60f2a4b (diff)
parentf7675eff1f9ee9a772463c8c095f5ce43ba2dc13 (diff)
Merge "Add new visualizations + new kibana + new Logstash"
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']