flog icon indicating copy to clipboard operation
flog copied to clipboard

nginx logs support?

Open denji opened this issue 6 years ago • 5 comments

  • https://docs.nginx.com/nginx/admin-guide/monitoring/logging/
  • https://nginx.org/en/docs/http/ngx_http_log_module.html

denji avatar Apr 24 '18 00:04 denji

Cool! Do you need support for basic format? (same as example configuration)

nginx log format seems very configurable, so I may be able to support only basic format for nginx logs.

mingrammer avatar Apr 24 '18 02:04 mingrammer

@mingrammer I am interested custom format similar GoAccess.

denji avatar Apr 24 '18 13:04 denji

@denji I have to review custom format support, but I'm willing to support custom option. It would greatly increase the flexibility of the flog.

mingrammer avatar Apr 24 '18 13:04 mingrammer

https://github.com/gsquire/topngx

topngx -f '$remote_addr - $remote_user [$time_local] "$request" $status $bytes_sent' info

https://www.nginxtools.com/

denji avatar Jun 10 '20 20:06 denji

@denji I really like the expressive custom format definition of topngx as opposed to the %d %v things in goaccess

I feel custom log format should be a first class citizen

kishaningithub avatar Aug 03 '21 05:08 kishaningithub