Reflected XSS monitoring – Information Security Stack Exchange

There is a lot of information on how to avoid or detect XSS, but I couldn’t find much information on how to monitor for reflected XSS. Is there a way to automatically detect reflected XSS in my application’s logs?
My guess is that we can run a parser on the logs and signal all the possible reflected XSS attacks. Is there a library already that does this?