TheHive-Project / TheHive

TheHive: a Scalable, Open Source and Free Security Incident Response Platform
https://thehive-project.org
GNU Affero General Public License v3.0
3.28k stars 605 forks source link

[Bug] Alerts Counter not changing after moving Index to Elasticsearch #2433

Closed SrijanNandi closed 1 year ago

SrijanNandi commented 1 year ago

Request Type

Bug

Work Environment

Question Answer
OS version (server) Debian
Virtualized Env. False
Dedicated RAM 32 GB
vCPU 8
TheHive version / git hash 4.1.24-1
Package Type DEB
Database Cassandra
Index type Elasticsearch
Attachments storage Local
Browser type & version If applicable

Problem Description

We recently moved Index configuration from Lucene to Elasticsearch. The change did not go smoothly. Therefore, had to reinstall theHive along with Cassandra DB. Now theHive, came up and am able to view Alerts. However, even through there are Alerts, the Alerts counter on the top always shows as 0(Zero).

Complementary information

Attaching screenshot of the issue.

Screenshot 2022-12-02 at 4 19 59 PM
SrijanNandi commented 1 year ago

Please close the case. Had to hard reboot the server to get it working. Now I am able to see the Alerts and the Alerts counter is also showing the exact numbers.