WebHook Duplicates

Hello, :saluting_face:

I’m currently experiencing duplicates on the webhook send, I was able to go from 4 to 2 duplicates, but I’m stumped on the optimization of my request.

sum(count_over_time({product="platform",namespace=~"platform|demo|x",component=~"servicesweb|webservices"} | json | log_level = "error" [10m])) by (instance, log_content_Message, log_content_Properties_what, component, namespace)

Condition :
every 10min for 0m

Is it still possible to optimize my request or should I switch to another method?