Crowdsec widget showing incorrect Number of alerts #3472
Unanswered
Helmchen-Lord
asked this question in
Feature Requests
Replies: 2 comments
-
#3443 - answered here previously, basically a limitation of the API afaik |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Description
Basically, I'm dealing with the same issue that was already discussed in Discussions 3443.
I see 100 alerts in the widget, but there should only be 1 alert at the moment.
As already mentioned in the other discussion, updates from individual blocklists are also displayed in the widget as alerts, which I personally don't find particularly helpful.
I don't think the widget is very useful if all alerts are displayed.
Would it be possible for the widget to filter the alerts better? Possibly as an option?
There is also an error in the Homepage log because of the size of the alert list:
API response for /api/services/proxy?type=crowdsec&group=Services&service=Crowdsec&endpoint=alerts exceeds 4MB. API Routes are meant to respond quickly. https://nextjs.org/docs/messages/api-routes-response-size-limit
Here is an example from my system that shows the difference between the alerts:
Update:
│ 376 │ crowdsecurity/community-blocklist (47 Ips) │ update : +15000/-0 IPs │ │ │ ban:47 │ 2024-05-10 18:40:56 +0000 UTC │
Real Ban:
│ 375 │ Ip:***.***.***.*** │ firewallservices/pf-scan-multi_ports │ DE │ 40021 NL-811-40021 │ ban:1 │ 2024-05-10 17:17:55.444260169 +0000 UTC │
Thanks in advance
Other
No response
Beta Was this translation helpful? Give feedback.
All reactions