How to backup/restore searches and dashboards


(Mark Duszyk) #1

Hi,

a cup of coffee and a doughnut if you explain how to "backup/restore" searches and dashboard selectively or all at once.

Thanks!
MarkD:-)


Import dashboards etc via command line
(Thomas Neirynck) #2

hi @markd,

you can use the "Save" button to a dashboard (Dashboard-app) or a saved search (Discover-app) .

To restore, use the import-button on the "Management> Saved Objects" page.


(Mark Duszyk) #3

Thomas.
I deleted a search..... So I would like to know how to dump search/dashboard out of ES index into a file and how restore it from a file - so I can protect myself against the yours truly :slight_smile:

MarkD


(Anh) #4

Perhaps take snapshot of the .kibana index? https://www.elastic.co/guide/en/elasticsearch/reference/current/modules-snapshots.html. You can use Curator to schedule the snapshot.


(Mark Duszyk) #5

this did the trick for me:

/usr/share/metricbeat/scripts]:> ./import_dashboards

the search i deleted returned!!!! Still, thanks for the link to "snapshots", I have to read it and put in place, currently I have nothing in place to backup Kibana/ES

Have a good weekend everybody
:slight_smile:


(Anh) #6

This imports the default dashboards for beats, it won't restore new visualizations and dashboards that you create.


(system) #7

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.