Added custom access log pattern config in README.
This commit is contained in:
parent
18c386b91c
commit
d644e334a8
1 changed files with 4 additions and 0 deletions
|
@ -128,6 +128,10 @@ conf.probe.types=HttpAccessLog, HttpErrorLog
|
||||||
conf.probe.httpaccesslog.file=/var/log/apache2/foo.bar.org-access.log*
|
conf.probe.httpaccesslog.file=/var/log/apache2/foo.bar.org-access.log*
|
||||||
conf.probe.httperrorlog.file=/var/log/apache2/foo.bar.org-error.log*
|
conf.probe.httperrorlog.file=/var/log/apache2/foo.bar.org-error.log*
|
||||||
conf.probe.target=/srv/statoolinfos/well-known/statoolinfos/foo.bar.org-metrics.properties
|
conf.probe.target=/srv/statoolinfos/well-known/statoolinfos/foo.bar.org-metrics.properties
|
||||||
|
|
||||||
|
# Custom access log pattern with Java regex.
|
||||||
|
# Default: "^(?<remoteAddress>[a-zA-F0-9\\\\:\\\\.]+) - (?<remoteUser>[^\\[]+) \\[(?<time>[^\\]]+)\\] \"(?<request>.*)\" (?<status>\\d+) (?<bodyBytesSent>\\d+) \"(?<referer>.*)\" \"(?<userAgent>[^\"]*)\".*$"
|
||||||
|
conf.probe.httpaccesslog.pattern=
|
||||||
```
|
```
|
||||||
|
|
||||||
### Minetest metrics
|
### Minetest metrics
|
||||||
|
|
Loading…
Reference in a new issue