We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f6b5c31 commit c96c008Copy full SHA for c96c008
1 file changed
config/nixos/applications/nginx.nix
@@ -47,6 +47,11 @@ in
47
name = "nginx";
48
format = logFormat;
49
source.files = ["/var/log/nginx/access.log"];
50
+ relabel_configs = [
51
+ { target_label = "host"; from = "host"; }
52
+ { target_label = "user_agent"; from = "http_user_agent"; }
53
+ { target_label = "remote_address"; from = "remote_addr"; }
54
+ ];
55
}
56
];
57
};
0 commit comments