TheHive
TheHive copied to clipboard
How to change index from Lucene to Elasticsearch
Request Type
Question
Work Environment
Question | Answer |
---|---|
OS version (server) | Ubuntu |
OS version (client) | Ubuntu |
Virtualized Env. | True |
Dedicated RAM | 48 GB |
vCPU | 24 |
TheHive version / git hash | 4.1.11-1 |
Package Type | Docker |
Database | Cassandra |
Index type | Lucene |
Attachments storage | Local |
Question
We have TheHive with the index at Lucene, but want to upgrade to cluster, so we need index at Elasticsearch. Is there such a possibility and any manual for this?
Thanks in advance.
Hi @fonk0rn if you find the solution please let me know as well. Thanks
Anybody, can help with this? A month with no answer. -((
We also need to migrate data, but we still haven’t found a solution ((
We also need to migrate data, but we still haven’t found a solution ((
Use directive db.janusgraph.forceDropAndRebuildIndex: true variable
more info about it: https://docs.strangebee.com/thehive/setup/operations/backup-restore/#basic-configuation
Once Cassandra database is restored, update the configuration of TheHive to rebuild the index. These lines should be added to the configuration file only for the first start of TheHive application, and removed later on.
this works in thehive4 too