monitoring
This commit is contained in:
parent
76e8cb79b2
commit
420612636b
1 changed files with 4 additions and 1 deletions
|
@ -3,7 +3,10 @@
|
|||
enable = true;
|
||||
port = 14201;
|
||||
settings = {
|
||||
namespace.nginx.source.files = "/var/log/nginx/access.log";
|
||||
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\"";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue