allinurl / goaccess

GoAccess is a real-time web log analyzer and interactive viewer that runs in a terminal in *nix systems or through your browser.
https://goaccess.io
MIT License
18.53k stars 1.11k forks source link

--invalid-requests=<filename> format and can contain reg exp ? #2733

Open par7133 opened 1 month ago

par7133 commented 1 month ago

Hello,

I would like to know about the actual implementation of --invalid-requests= format. Eg. If it can contain reg exp expecially for what concern the remote_addr, http_agent and referer.

And if not, if it could contain reg exp in the next future.

-Dan

allinurl commented 1 month ago

at the moment, it just takes whatever filename you give to output invalid requests. Is there a scenario where using regex for the output filename would be beneficial?

par7133 commented 1 month ago

You mean it should contain something just like "GET /hello.html HTTP1.1' or what?

allinurl commented 1 month ago

It would display the entire request line that couldn't be processed.

par7133 commented 1 month ago

Pardon me, I'm very busy in this last period and this 2 weeks ago issue doesn't have more greep in my memory, it could be my age matters too, huuu..

Have a great weekend all, there..  ;-)

-Dan