Code development platform for open source projects from the European Union institutions

Skip to content
Snippets Groups Projects
Commit 1b7b6a3b authored by Natalia Szakiel's avatar Natalia Szakiel
Browse files

filebeat logstash ssl fix

parent e6a60bf8
No related branches found
No related tags found
3 merge requests!48Develop,!46Develop,!7Feature/secure connections
......@@ -37,6 +37,8 @@ spec:
env:
- name: ELASTIC_ELASTICSEARCH_ES_HOSTS
value: 'https://elastic-elasticsearch-es-http.{{ .Release.Namespace }}.svc:9200'
- name: LOGSTASH_HOSTS
value: 'logstash-{{ .Values.logstash.beats.pipelines_group_name }}-ls-api.{{ .Release.Namespace }}:5044'
- name: MONITORING_USER
valueFrom:
secretKeyRef:
......
......@@ -159,7 +159,7 @@ kind: ConfigMap
metadata:
name: tcp-services-{{ $.Values.logstash.pipelines_group_name }}-{{$index_i}}
data:
5044: "observability/logstash-{{ $.Values.logstash.beats.pipelines_group_name }}-ls-{{ $.Values.logstash.beats.pipelines_group_name }}-{{$index_i}}:5044"
5044: "observability/logstash-{{ $.Values.logstash.beats.pipelines_group_name }}-ls-{{$index_i}}:5044"
{{- end }}
---
apiVersion: cert-manager.io/v1
......
......@@ -231,7 +231,7 @@ filebeat:
name: "test"
output: |
output.logstash:
hosts: ["logstash-beats-ls-api.observability:5044"]
hosts: ["${LOGSTASH_HOSTS}"]
ssl.enabled: true
ssl.certificate_authorities: ["/usr/share/filebeat/es-certs/ca.crt"]
ssl.verification_mode: full
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment