Skip to content
This repository has been archived by the owner on Sep 20, 2023. It is now read-only.

Commit

Permalink
#70 update
Browse files Browse the repository at this point in the history
  • Loading branch information
jeromeleonard committed Oct 28, 2020
1 parent 69fb49e commit 6a1935b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions migration_guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,11 @@ The software `jq` is required to manipulate JSON and create new indexes. More in
Run the following command :

```bash
curl -s http://127.0.0.1:9200/cortex_4?human | jq '.cortex_4.settings.index.version.created'
curl -s http://127.0.0.1:9200/cortex_4?human | jq '.cortex_4.settings.index.version.created_string'
```

- if the output is similar to `"5xxxxxx"` then your database index has been created with Elasticsearch 5.x reindexing is required, you should follow [a dedicated process to upgrade](../admin/upgrade_to_thehive_3_5_and_es_7_x.md).
- If it is `"6xxxxxx"` then your database has been created with Elasticsearch 6.
- if the output is similar to `"5.x"` then your database index has been created with Elasticsearch 5.x reindexing is required, you should follow [a dedicated process to upgrade](../admin/upgrade_to_thehive_3_5_and_es_7_x.md).
- If it is `"6.x"` then your database has been created with Elasticsearch 6.

### Your database was created with Elasticsearch 5.x or earlier

Expand Down

0 comments on commit 6a1935b

Please sign in to comment.