Skip to content

Commit

Permalink
Update the readmes to delete old dashboards and import new ones. (#54)
Browse files Browse the repository at this point in the history
Co-authored-by: Clint Baxley <[email protected]>
  • Loading branch information
cbaxley and Clint Baxley authored Nov 20, 2023
1 parent 6800f54 commit 4fd3eb7
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 2 deletions.
15 changes: 14 additions & 1 deletion Chapter 4 Files/dashboards/Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,20 @@
./dashboard_update.sh
```

## Exporting dashboards:
### Updating to new dashboards and removing old ones (Starting with 1.1.0)
Browse to `Kibana->Stack Management` then select `Saved Objects`.
On the Saved Objects page, you can filter by dashboards.

Select the filter `Type` and select `dashboard`.

* It is suggested that you export the dashboards first (readme below) so you have a backup.
You can delete all of the dashboards before importing the new ones.

After having backed up the dashboards and deleting them, you can then run
`dashboard_update.sh` in the `/opt/lme` directory.


### Exporting dashboards:
It is recommended that you export your dashboards before updating them, especially if you have customized them or created new ones.
To export the dashboards use the `export_dashboards.py` file in the Chapter 4 directory.
It is easiest to export them from the ubuntu machine where you have installed the ELK stack because the
Expand Down
6 changes: 5 additions & 1 deletion docs/markdown/maintenance/upgrading.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,11 @@ Below you can find the upgrade paths that are currently supported and what steps

Applying these changes is automated for any new installations. But, if you have an existing installation, you need to conduct some extra steps. **Before performing any of these steps it is advised to take a backup of the current installation using the method described [here](/docs/markdown/maintenance/backups.md).**

### 1.1 Upgrade from v0.5
### 1.1 Upgrade from v1.0.0
You may want to delete and reimport the dashboards on upgrade from 1.0.0 to 1.1.0. [Updating dashboards](/Chapter%204%20Files/dashboards/Readme.md). This way you are not left with old dashboards when you export.


### 1.2 Upgrade from v0.5

Since LME's transition from the NCSC to CISA, the location of the LME repository has changed from `https://github.com/ukncsc/lme` to `https://github.com/cisagov/lme`. To obtain any further updates to LME on the ELK server, you will need to transition to the new git repository. Because vital configuration files are stored within the same folder as the git repo, it's simpler to copy the old LME folder to a different location, clone the new repo, copy the files and folders unique to your system, and then optionally delete the old folder. You can do this by running the following commands:

Expand Down

0 comments on commit 4fd3eb7

Please sign in to comment.