Send nginx logs to journald #583
Reference in New Issue
Block a user
Delete Branch "benvin/nginx-logs-journald"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
nginx only logs to files, so its access and error logs never reach journald or VictoriaLogs, and proxy errors (e.g. consul.service.consul 502s) can't be diagnosed from vlogs.
journaldlog_format with$host, request time and upstream addr/status/response timeunix:/dev/log) targets estate-wide:tag=nginx_accessfor access,tag=nginxfor errors