-
Notifications
You must be signed in to change notification settings - Fork 640
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug] Thehive4 is slow for list alerts #1584
Comments
To get accurate execution delays, you can use the
|
Hello, Without sort :
With sort :
|
Hello @nicodeff Thanks for the entry. We are working to improve and fix this type of issues. Stay tuned. |
Hello @nadouani, Do you have informations about the fix. Thanks, |
Hello @nicodeff this performance issue will be globally fixed in TheHive 4.1 (target before end of the year). Work is still in progress |
Thanks @nadouani fot this great news. Regards, |
I really hope that this topic gets a high priority, as its a hard effect when migrating from TheHive3 to TheHive4 ;) |
Hello @nadouani , this problem will it be fixed in TheHive 4.1 ? Thanks, Regards, |
Hello, We had installed TheHive Xmas edition 4.0.3 and we haven't unfortunately observe an amelioration . Time for 12500 alerts :
For listing cases we have not the same problem, but we have 'only' 1300 cases.
Regards, |
This issue has been fixed with #1731, included in release 4.1.0. |
This still appears to be an issue. I have recently migrated to The Hive version 4.1.9-1. We have a total of 247 alerts. Replicating the same testing queries I see load times of 4 seconds by default, and 17 seconds with sorting. Both of which seem too slow for such a little number of alerts: Without Sorting - 4 seconds, which is still slower than expected time curl https://HIVEURL/api/v1/query?name=alerts -s -u USERNAME:PASSWORD -H "Content-type: application/json" -d '{"query": [{"_name": real 0m4.011s With Sorting - Over 17 seconds! time curl https://HIVEURL/api/v1/query?name=alerts -s -u USERNAME:PASSWORD -H "Content-type: application/json" -d '{"query": [{"_name": "listAlert"},{"_name": "sort", "_fields": [{"date": "desc"}]},{"_name": "page", "from": 0, "to": 15}]}' --insecure real 0m17.926s |
Request Type
Bug
Work Environment
Problem Description
Hello,
I am currently making a poc of thehive4 to replace our current version of thehive 3.4.2-1
I migrated all cases and alerts from thehive 3.4 to thehive4 (1242 cases and 12480 alerts).
When I want to go to Thehive alerts page. This page takes long seconds to display alerts.
I carried out some tests via the API and it seems that there is a high latency by applying a "desc" sort on the "date" field (basic behavior carried out by the webUI)
Without sort : time execution less than 1 sec
With sort : time execution 7 sec
Is this a known issue ?
this latency is for us a blocking point to finalize the migration to thehive4.
Thanks,
Regards,
The text was updated successfully, but these errors were encountered: