diff --git a/migration_guide.md b/migration_guide.md index 8b734a8..a5298f0 100644 --- a/migration_guide.md +++ b/migration_guide.md @@ -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