IzyPro / WatchDog

WatchDog is a Realtime Message, Event, HTTP (Request & Response) and Exception logger and viewer for ASP.Net Core Web Apps and APIs. It allows developers log and view messages, events, http requests made to their web application and also exception caught during runtime in their web applications, all in Realtime.
MIT License
765 stars 115 forks source link

Blacklist using regex #132

Closed AltaherPresto closed 11 months ago

AltaherPresto commented 1 year ago

Is your feature request related to a problem? Please describe. I run a small microservice on an AWS ECS container and it gets a LOT of requests from spam bots. The microservice only has 2 endpoints and needs to stay publically accessible. I'm using Watchdog to monitor the legitimate requests but the dashboard (and database) is spammed with spam requests.

Describe the solution you'd like I want the watchdog Blacklist feature to allow me to use regex so it only stores legitimate requests using negative lookahead assertions like so:

^(?!.*\/api\/mypath).*$

github-actions[bot] commented 12 months ago

This issue is stale because it has been open for 30 days with no activity.

github-actions[bot] commented 11 months ago

This issue was closed because it has been inactive for 14 days since being marked as stale.

IzyPro commented 7 months ago

Hi @AltaherPresto This is now possible in the newly released v1.4.11. You can check the documentation on how to enable regex for blacklisting.