hi i need help to exclude monitoring system checks <remote_addr> of 192.168.1.1
from the counter
may be someone may help pls
############
counter http_requests_total by request_method,status
# log_format main '$remote_addr - $remote_user [$time_local] "$request" '
# '$status $body_bytes_sent "$http_referer" '
# '"$http_user_agent" "$http_x_forwarded_for" '
# '$request_time $upstream_response_time $pipe';
/^/ +
/(?P<remote_addr>[0-9A-Za-z\.-:]+) / +
/- / +
/(?P<remote_user>[0-9A-Za-z-]+) / +
/(?P<time_local>\[\d{2}\/\w{3}\/\d{4}:\d{2}:\d{2}:\d{2} [-|\+]\d{4}\]) / +
/"(?P<request_method>[A-Z]+) (?P<request_uri>\S+) (?P<http_version>HTTP\/[0-9\.]+)" / +
/(?P<status>\d{3}) / +
/(?P<bytes_sent>\d+) / +
/"(?P<http_referer>\S+)" / +
/"(?P<http_user_agent>[[:print:]]+)" / +
/"(?P<x_forwarded_for>[0-9A-Za-z\.-]+)" / +
#/(?P<request_seconds>\d+)\.(?P<request_milliseconds>\d+) / +
#/(?P<upstream_seconds>\d+)\.(?P<upstream_milliseconds>\d+) / +
/(?P<pipe>.*)/ +
/$/ {
http_requests_total[tolower($request_method)][$status]++
}
###########################