Which filter should be used for constant parasite pulses?

I am using esphome pulse counter (with badger meter magnetoflow primo) but flow meter sends out constant pulses about every 15min or so, but water is not flowing. In the manual of the meter it is said that it comes from the vibration of the pipes. Is it possible to filter out such a thing? you can see 2 points on the graph when water actually flowed

How would you know when to filter out 1 pulse?

delta:1 ignores any pulses of 1 (or less!) only used for pulse meter and not counter

want to filter out 1 pulse when two pulse frequency is greater than 5 min

You might be able to leverage a timeout filter here?