We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hello everyone,
I'm a bit stuck on the way to configure goaccess to read the fail2ban logs that have this format/syntax :
2020-08-13 18:57:11,326 fail2ban.actions [10357]: NOTICE [firewall] Ban ww.xx.yy.zz
Can't figure out the log-format (tried various combinations related to %d %t %^ %^ %^ %^ %^ %h syntax).
%d %t %^ %^ %^ %^ %^ %h
Could you help :) ?
Thanks in advance.
Sincerely,
The text was updated successfully, but these errors were encountered:
The solution is to carefully respect the spaces quantity :) besides some tricks as :
spaces
18:57:11,326 -> %t,%^
Thanks
Sorry, something went wrong.
You can try:
goaccess fail2ban.log --log-format='%d %t,%^ %U %^ %^ %^ %v %h' --date-format=%Y-%m-%d --time-format=%T --http-protocol=no --http-method=no --ignore-panel=OS --ignore-panel=BROWSERS
Closing this, feel free to reopen it if needed.
No branches or pull requests
Hello everyone,
I'm a bit stuck on the way to configure goaccess to read the fail2ban logs that have this format/syntax :
2020-08-13 18:57:11,326 fail2ban.actions [10357]: NOTICE [firewall] Ban ww.xx.yy.zz
Can't figure out the log-format (tried various combinations related to
%d %t %^ %^ %^ %^ %^ %h
syntax).Could you help :) ?
Thanks in advance.
Sincerely,
The text was updated successfully, but these errors were encountered: