First attempt at extracting access log fields to labels
This commit is contained in:
parent
7fa91de04f
commit
2b5e2eeff0
@ -84,6 +84,14 @@ data:
|
||||
- match:
|
||||
selector: '{namespace="tekton-pipelines"}'
|
||||
action: drop
|
||||
- match:
|
||||
selector: '{k8s_app="traefik-ingress-lb"}'
|
||||
stages:
|
||||
- json:
|
||||
expressions:
|
||||
request_host: RequestHost
|
||||
- labels:
|
||||
request_host:
|
||||
kubernetes_sd_configs:
|
||||
- role: pod
|
||||
relabel_configs:
|
||||
@ -146,6 +154,14 @@ data:
|
||||
- match:
|
||||
selector: '{namespace="tekton-pipelines"}'
|
||||
action: drop
|
||||
- match:
|
||||
selector: '{k8s_app="traefik-ingress-lb"}'
|
||||
stages:
|
||||
- json:
|
||||
expressions:
|
||||
request_host: RequestHost
|
||||
- labels:
|
||||
request_host:
|
||||
kubernetes_sd_configs:
|
||||
- role: pod
|
||||
relabel_configs:
|
||||
@ -212,6 +228,14 @@ data:
|
||||
- match:
|
||||
selector: '{namespace="tekton-pipelines"}'
|
||||
action: drop
|
||||
- match:
|
||||
selector: '{k8s_app="traefik-ingress-lb"}'
|
||||
stages:
|
||||
- json:
|
||||
expressions:
|
||||
request_host: RequestHost
|
||||
- labels:
|
||||
request_host:
|
||||
kubernetes_sd_configs:
|
||||
- role: pod
|
||||
relabel_configs:
|
||||
@ -284,6 +308,14 @@ data:
|
||||
- match:
|
||||
selector: '{namespace="tekton-pipelines"}'
|
||||
action: drop
|
||||
- match:
|
||||
selector: '{k8s_app="traefik-ingress-lb"}'
|
||||
stages:
|
||||
- json:
|
||||
expressions:
|
||||
request_host: RequestHost
|
||||
- labels:
|
||||
request_host:
|
||||
kubernetes_sd_configs:
|
||||
- role: pod
|
||||
relabel_configs:
|
||||
@ -358,6 +390,14 @@ data:
|
||||
- match:
|
||||
selector: '{namespace="tekton-pipelines"}'
|
||||
action: drop
|
||||
- match:
|
||||
selector: '{k8s_app="traefik-ingress-lb"}'
|
||||
stages:
|
||||
- json:
|
||||
expressions:
|
||||
request_host: RequestHost
|
||||
- labels:
|
||||
request_host:
|
||||
kubernetes_sd_configs:
|
||||
- role: pod
|
||||
relabel_configs:
|
||||
|
Loading…
Reference in New Issue
Block a user