Skip to content

Commit 9d00457

Browse files
committed
#23 migration from TH 3.4.x and 3.5.x to TH 4.1.17 and higher
1 parent 8b1910b commit 9d00457

File tree

1 file changed

+0
-33
lines changed

1 file changed

+0
-33
lines changed

docs/thehive/operations/migration.md

-33
Original file line numberDiff line numberDiff line change
@@ -167,39 +167,6 @@ with:
167167
| `--es-index` | specifies the index used in Elasticsearch. |
168168

169169

170-
!!! Example
171-
172-
=== "TheHive 3.4.x + Elasticsearch 6.x "
173-
174-
When migrating, start a new database, create an organisation named `StrangeBee`, add all users in this organisation, and **do not keep** audit trails older than 90d.
175-
176-
!!! Warning "Requirements"
177-
The option `--es-single-type true` is **mandatory** to migrate data from Elasticsearch 6.x
178-
179-
```bash
180-
/opt/thehive/bin/migrate \
181-
--drop-database \
182-
--input /etc/thehive/thehive3.conf \
183-
--output /etc/thehive/application.conf \
184-
--main-organisation StrangeBee \
185-
--max-audit-age 90d \
186-
--es-single-type true
187-
```
188-
189-
=== "TheHive 3.5.x + Elasticsearch 7.x"
190-
191-
When migrating, start a new database, create an organisation named `StrangeBee`, add all users in this organisation, and **do not keep** alert trails created before the March, 25th of 2019.
192-
193-
```bash
194-
/opt/thehive/bin/migrate \
195-
--drop-database \
196-
--input /etc/thehive/thehive3.conf \
197-
--output /etc/thehive/application.conf \
198-
--main-organisation StrangeBee \
199-
--alert-from-date 20190325
200-
```
201-
202-
203170
!!! Info
204171
The migration process can be very long, from several hours to several days, depending on the volume of data to migrate. We **highly** recommand to not start the application during the migration.
205172

0 commit comments

Comments
 (0)