monitoring
This commit is contained in:
parent
3202bf379f
commit
4c0602ff39
1 changed files with 1 additions and 1 deletions
|
@ -9,7 +9,7 @@
|
|||
name = "nginx";
|
||||
format = ''$http_host: $remote_addr - $remote_user [$time_local] "$request" $status $body_bytes_sent "$http_referer" "$http_user_agent" "$http_x_forwarded_for"'';
|
||||
source.files = ["/var/log/nginx/access.log"];
|
||||
relabel = [
|
||||
relabels = [
|
||||
{ name = "host"; from = "http_host"; }
|
||||
{ name = "request"; from = "request"; }
|
||||
{ name = "body_bytes_sent"; from = "body_bytes_sent"; }
|
||||
|
|
Loading…
Add table
Reference in a new issue