monitoring
This commit is contained in:
parent
420612636b
commit
35ea0052c1
1 changed files with 7 additions and 4 deletions
|
@ -3,10 +3,13 @@
|
|||
enable = true;
|
||||
port = 14201;
|
||||
settings = {
|
||||
namespace.nginx = {
|
||||
source.files = ["/var/log/nginx/access.log"];
|
||||
format = "$remote_addr - $remote_user [$time_local] \"$request\" $status $body_bytes_sent \"$http_referer\" \"$http_user_agent\" \"$http_x_forwarded_for\"";
|
||||
};
|
||||
namespaces = [
|
||||
{
|
||||
name = "nginx";
|
||||
source.files = ["/var/log/nginx/access.log"];
|
||||
format = "$remote_addr - $remote_user [$time_local] \"$request\" $status $body_bytes_sent \"$http_referer\" \"$http_user_agent\" \"$http_x_forwarded_for\"";
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue