Where I can find HTTPD_ERRORLOG pattern?
What would you like to be added?
Hi.
Where I can find pattern HTTPD_ERRORLOG in my linux files in dir /etc/crowdsec/patterns/ its absent
Why is this needed?
I have a bug with detect correct client IP in PHP error, want to try change pattern
All default patterns are documented on the docs here: https://doc.crowdsec.net/docs/next/parsers/patterns
Hello,
It's defined in https://github.com/crowdsecurity/grokky/blob/master/base.go#L150
You can overload existing expressions directly in your parsers if needed !
but where is httpd? all other from logstash i see
We dont use a default pattern for that, the parser uses these ones here: https://hub.crowdsec.net/author/crowdsecurity/configurations/apache2-logs
More specifically this one
(%{IPORHOST:target_fqdn} )?%{COMMONAPACHELOG}( "%{NOTDQUOTE:referrer}" "%{NOTDQUOTE:http_user_agent}")?