diff options
author | 2024-06-07 16:33:10 +0100 | |
---|---|---|
committer | 2024-06-07 16:48:18 +0100 | |
commit | 89d4256ef891138186d7022d51553c050669cec1 (patch) | |
tree | 266fbcff2520dfa6fc8b3c53cdffb21522745680 | |
parent | Add relabing stages to name custom log extractors (diff) |
Add NGINX access and error logs
-rw-r--r-- | ansible/host_vars/lovelace/alloy.yml | 4 | ||||
-rw-r--r-- | ansible/host_vars/turing/alloy.yml | 6 |
2 files changed, 10 insertions, 0 deletions
diff --git a/ansible/host_vars/lovelace/alloy.yml b/ansible/host_vars/lovelace/alloy.yml index 9d079ef..31fa7be 100644 --- a/ansible/host_vars/lovelace/alloy.yml +++ b/ansible/host_vars/lovelace/alloy.yml @@ -2,3 +2,7 @@ alloy_extra_files: - name: postgresql path: "/var/log/postgresql/postgresql-*-main.log" + - name: nginx_access + path: "/var/log/nginx/access.log" + - name: nginx_error + path: "/var/log/nginx/error.log" diff --git a/ansible/host_vars/turing/alloy.yml b/ansible/host_vars/turing/alloy.yml new file mode 100644 index 0000000..2e439d2 --- /dev/null +++ b/ansible/host_vars/turing/alloy.yml @@ -0,0 +1,6 @@ +--- +alloy_extra_files: + - name: nginx_access + path: "/var/log/nginx/access.log" + - name: nginx_error + path: "/var/log/nginx/error.log" |