Skip to content

Commit

Permalink
Update kibana-backup.py
Browse files Browse the repository at this point in the history
  • Loading branch information
selivan committed May 4, 2019
1 parent b52ec35 commit e54bf6c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions kibana-backup.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ def backup(kibana_url, user, password):
"""Return string with json containing Kibana saved objects"""

saved_object_types = ('visualization', 'dashboard', 'search', 'index-pattern', 'config', 'timelion-sheet')
#saved_object_types = ('index-pattern',)
saved_objects = {}
for obj_type in saved_object_types:
r = requests.get(kibana_url + '/api/saved_objects/_find?type={}'.format(obj_type),
Expand Down

0 comments on commit e54bf6c

Please sign in to comment.