goaccess icon indicating copy to clipboard operation
goaccess copied to clipboard

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

Open par7133 opened this issue 1 year ago • 4 comments

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

par7133 avatar Oct 01 '24 20:10 par7133

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?

allinurl avatar Oct 01 '24 23:10 allinurl

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

par7133 avatar Oct 02 '24 01:10 par7133

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

allinurl avatar Oct 12 '24 18:10 allinurl

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

par7133 avatar Oct 13 '24 10:10 par7133