diff options
author | Gervais-Martial Ngueko <gervais-martial.ngueko@intl.att.com> | 2019-04-04 13:40:40 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2019-04-04 13:40:40 +0000 |
commit | d10114aeb050d7a3e1e782e48ad446dfeebf388f (patch) | |
tree | 1d0d3990ccf2618d37426094844118b385c837b7 /src/main/docker/kibana/backup.py | |
parent | 3772c8513f618f9b76fc7bfa55fa140eb60f2a4b (diff) | |
parent | f7675eff1f9ee9a772463c8c095f5ce43ba2dc13 (diff) |
Merge "Add new visualizations + new kibana + new Logstash"
Diffstat (limited to 'src/main/docker/kibana/backup.py')
-rwxr-xr-x | src/main/docker/kibana/backup.py | 6 |
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'] |