Skip to content

Simple backup/restore for Kibana saved objects: config, index patterns, dashboards, saved searches, etc.

License

Notifications You must be signed in to change notification settings

danpawlik/kibana-backup-simple

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 

Repository files navigation

Simple backup for Kibana saved objects: config, index patterns, dashboards, saved searches, etc.

Uses python3 and python-requests library, which you have to install on your every host anyway, because it's awesome.

Usage

kibana-backup.py [--kibana-url KIBANA_URL] [--user USER] [--password PASSWORD] backup > backup.json

cat backup.json | kibana-backup.py [--kibana-url KIBANA_URL] [--user USER] [--password PASSWORD] restore

  • backup write backup file in json format to stdout
  • restore restore backup from stdin
  • --kibana-url base URL to access Kibana API, default: http://127.0.0.1:5601
  • --user Kibana user
  • --password Kibana password

Documentation

License

WTFPL

P.S. If this code is useful for you - don't forget to put a star on it's github repo.

About

Simple backup/restore for Kibana saved objects: config, index patterns, dashboards, saved searches, etc.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages

  • Python 100.0%