You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Adjusting the HTTPDUSER pattern to HTTPDUSER %{EMAILADDRESS}|%{USER}|"" allows parsing of this valid apache2 logline. Running with patched httpd pattern file:
Logstash information:
Using logstash 8.6.1, installed as debian package from official elastic-repo
JVM:
OS version:
Description of the problem including expected versus actual behavior:
The default grok pattern for HTTPDUSER (derived from USER) does not match
""
- which is a valid apache2 log output if the given remote user is empty (https://github.com/apache/httpd/blob/5c55d4c0600e7734030fa4d549913b4e94b2b0f2/modules/loggers/mod_log_config.c#L382)Steps to reproduce:
curl -u :password --basic http://localhost:80/
10.0.2.100 - "" [31/Jan/2023:07:59:58 +0000] "GET / HTTP/1.1" 401 381
Using the following simple config:
leads to:
Adjusting the HTTPDUSER pattern to
HTTPDUSER %{EMAILADDRESS}|%{USER}|""
allows parsing of this valid apache2 logline. Running with patched httpd pattern file:The text was updated successfully, but these errors were encountered: