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

Skip to content
Snippets Groups Projects

Added filebeat eck

Merged Natalia Szakiel requested to merge added-filebeat-eck into develop
6 files
+ 472
2
Compare changes
  • Side-by-side
  • Inline
Files
6
+ 18
0
@@ -20,3 +20,21 @@ Elasticsearch api dns
elasticsearch.{{ default .Release.Namespace .Values.namespaceTag }}.{{ .Values.domainSuffix }}
{{- end -}}
{{/*
Logstash input dns
*/}}
{{- define "logstash.dns" -}}
logstash.{{ .Values.logstash.pipelines_group_name }}.{{ default .Release.Namespace .Values.namespaceTag }}.{{ .Values.domainSuffix }}
{{- end -}}
{{/*
Logstash input dns for many ingressRouteTCPs
*/}}
{{- define "logstash.dns.array" -}}
{{ $concatUrl := ( printf ".%s" (include "logstash.dns" .)) }}
{{ $urlPrefix := (default "l" .Values.logstash.urlPrefix) }}
{{ $maxRange := (.Values.logstash.count |int ) }}
{{- range $index := until $maxRange -}}
{{- $urlPrefix}}{{$index }}{{ $concatUrl }}{{if lt $index (sub $maxRange 1) }},{{end}}
{{- end -}}
{{- end -}}
\ No newline at end of file
Loading