fix filebeat pod dying
This commit is contained in:
parent
bc5d8ee8d2
commit
426321be07
27
values.yaml
27
values.yaml
|
@ -51,12 +51,28 @@ filebeat:
|
||||||
- logs_path:
|
- logs_path:
|
||||||
logs_path: "/var/log/containers/"
|
logs_path: "/var/log/containers/"
|
||||||
output.logstash:
|
output.logstash:
|
||||||
hosts: ["logstash-loki:5044"]
|
# TODO make vvv this depend on helm chart name
|
||||||
|
hosts: ["loki-stack-logstash:5044"]
|
||||||
|
|
||||||
logstash:
|
logstash:
|
||||||
enabled: true
|
enabled: true
|
||||||
image: grafana/logstash-output-loki
|
image: grafana/logstash-output-loki
|
||||||
imageTag: 1.0.1
|
imageTag: 1.0.1
|
||||||
|
|
||||||
|
service:
|
||||||
|
type: ClusterIP
|
||||||
|
ports:
|
||||||
|
- name: beats
|
||||||
|
port: 5044
|
||||||
|
protocol: TCP
|
||||||
|
targetPort: 5044
|
||||||
|
- name: http
|
||||||
|
port: 8080
|
||||||
|
protocol: TCP
|
||||||
|
targetPort: 8080
|
||||||
|
|
||||||
|
# readiness probe seems to be failing (connection refused to port 9600)
|
||||||
|
|
||||||
filters:
|
filters:
|
||||||
main: |-
|
main: |-
|
||||||
filter {
|
filter {
|
||||||
|
@ -74,13 +90,16 @@ logstash:
|
||||||
remove_field => ["tags"]
|
remove_field => ["tags"]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# TODO drop high cardinality data (https://grafana.com/docs/loki/latest/clients/logstash)
|
||||||
outputs:
|
outputs:
|
||||||
main: |-
|
main: |-
|
||||||
output {
|
output {
|
||||||
loki {
|
loki {
|
||||||
url => "http://loki:3100/loki/api/v1/push"
|
# TODO this url may be wrong
|
||||||
username => "test"
|
url => "http://loki-stack:3100/loki/api/v1/push"
|
||||||
password => "test"
|
#username => "test"
|
||||||
|
#password => "test"
|
||||||
}
|
}
|
||||||
# stdout { codec => rubydebug }
|
# stdout { codec => rubydebug }
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue