statoolinfos/resources/conf/sample-probe-http.conf

25 lines
1.1 KiB
Text
Raw Normal View History

2021-12-20 01:38:47 +01:00
#
# Sample StatoolInfos config file to probe http.
#
# Warning: move this file outside the Git directory.
# List of the targets to probe.
conf.probe.types=HttpAccessLog, HttpErrorLog
# Access log file to probe. Wildcards available.
# Example: /tmp/*foo*.log??
conf.probe.httpaccesslog.file=/var/log/apache2/qrcode.libre-service.eu/qrcode.libre-service.eu-access.log*
# Optional. Custom access http log pattern in Java regex mode (https://docs.oracle.com/javase/7/docs/api/java/util/regex/Pattern.html).
# Default value COMBINED: (?<remoteAddress>[a-zA-F0-9\\\\:\\\\.]+) - (?<remoteUser>[^\\[]+) \\[(?<time>[^\\]]+)\\] \"(?<request>[^\"]*)\" (?<status>\\d+) (?<bodyBytesSent>\\d+) \"(?<referer>[^\"]*)\" \"(?<userAgent>[^\"]*)\".*$");
conf.probe.httpaccesslog.pattern=
# Error log file to probe. Wildcards available.
# Example: /tmp/*foo*.log??
conf.probe.httperrorlog.file=/var/log/apache2/qrcode.libre-service.eu/qrcode.libre-service.eu-error.log*
# Target file to write computed metrics. If file exists then it is renamed with '.bak'.
conf.probe.target=/srv/statoolinfos/well-known/statoolinfos/qrcode.libre-service.eu.metrics