aboutsummaryrefslogtreecommitdiffstats
path: root/extra/docker/elk/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'extra/docker/elk/README.md')
-rw-r--r--extra/docker/elk/README.md9
1 files changed, 7 insertions, 2 deletions
diff --git a/extra/docker/elk/README.md b/extra/docker/elk/README.md
index f74c4e0e9..b2b6fe36c 100644
--- a/extra/docker/elk/README.md
+++ b/extra/docker/elk/README.md
@@ -19,10 +19,12 @@ Backup/restore
--------------
backup.py and restore.py scripts are available inside the kibana docker image for saving and restoring the configuration.
+the default configuration is located in the kibana docker image under the directory "/saved-objects/default/"
### backup.py
```
-docker-compose exec kibana backup.py -C /saved-objects/
+firts create the directory "/saved-objects/mybackup" if it doesn't exist
+docker-compose exec kibana backup.py -C /saved-objects/mybackup
```
```
usage: backup.py [-h] [-v] [-C CONFIGURATION_PATH] [-f] [-H KIBANA_HOST]
@@ -45,7 +47,10 @@ optional arguments:
### restore.py
```
-docker-compose exec kibana restore.py -C /saved-objects/ -f
+to restore the configuration, you previously backed up, use the command below:
+docker-compose exec kibana restore.py -C /saved-objects/mybackup -f
+to restore the default confgiuration use the command below:
+docker-compose exec kibana restore.py -C /saved-objects/default -f
```
```
usage: restore.py [-h] [-v] [-C CONFIGURATION_PATH] [-H KIBANA_HOST] [-f]