-
Notifications
You must be signed in to change notification settings - Fork 14
/
output-nginx.conf
28 lines (28 loc) · 1.01 KB
/
output-nginx.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
[OUTPUT]
Name opensearch
Match nginx
Alias nginx
Host ${FLUENT_opensearch_HOST}
Port ${FLUENT_opensearch_PORT}
HTTP_User ${FLUENT_opensearch_USER}
HTTP_Passwd ${FLUENT_opensearch_PASSWORD}
Logstash_Format On
{{- if .Values.fluentbit.indexPrefix }}
Logstash_Prefix {{ printf "%s-nginx" .Values.fluentbit.indexPrefix }}
{{- else }}
Logstash_Prefix nginx
{{- end }}
Replace_Dots On
Retry_Limit False
Trace_Error On
Suppress_Type_Name On
Include_Tag_Key Off
Time_Key_Nanos Off
Generate_ID On
tls On
tls.Verify On
{{- if or .Values.fluentbit.caCertificateSecret .Values.opensearch.externalOpensearch.disabled }}
tls.ca_file /fluent-bit/ssl/root-ca.pem
{{- end }}
tls.crt_file /fluent-bit/ssl/admin.pem
tls.key_file /fluent-bit/ssl/admin-key.pem