Skip to content

Commit

Permalink
ngingx doc link
Browse files Browse the repository at this point in the history
  • Loading branch information
facundoolano committed Jul 29, 2024
1 parent ce544f7 commit 1a5d081
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,8 @@ Count non successful responses:
The command-line arguments and flags are intended exclusively to express a requests count query. The configuration, which isn't expected to change across command invocations, is left to environment variables:
- `NGTOP_LOGS_PATH`: path pattern to find the nginx access logs. Defaults to `/var/log/nginx/access.log*`. The pattern is expanded using Go's [`path/filepath.Glob`](https://pkg.go.dev/path/filepath#Glob).
- `NGTOP_LOG_FORMAT`: The nginx log_format specification to parse the log entries. By default combined logs are assumed, which is equivalent to:
- `NGTOP_LOG_FORMAT`: The [nginx log_format](https://nginx.org/en/docs/http/ngx_http_log_module.html#log_format "
") specification to parse the log entries. By default combined logs are assumed, which is equivalent to:
```
NGTOP_LOG_FORMAT='$remote_addr - $remote_user [$time_local] "$request" $status $body_bytes_sent "$http_referer" "$http_user_agent"'
```
Expand Down

0 comments on commit 1a5d081

Please sign in to comment.