-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Jones Jefferson <[email protected]>
- Loading branch information
Jones Jefferson
committed
Aug 5, 2024
1 parent
8e63ed3
commit df2ba29
Showing
7 changed files
with
123 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
apiVersion: v1 | ||
kind: ConfigMap | ||
metadata: | ||
name: fluent-bit-config | ||
namespace: {{ include "nimbus-k8tls.fullname" . }}-env | ||
data: | ||
fluent-bit.conf: | | ||
[SERVICE] | ||
Flush 1 | ||
Log_Level info | ||
Parsers_File parsers.conf | ||
[INPUT] | ||
Name tail | ||
Path /tmp/compact_report.json | ||
Parser JSON | ||
Tag json.data | ||
DB /tmp/compact_report.db | ||
Read_from_Head true | ||
Exit_On_Eof true | ||
{{- if .Values.output.elasticsearch.enabled }} | ||
[OUTPUT] | ||
Name es | ||
Match * | ||
Host {{ .Values.output.elasticsearch.host }} | ||
Port {{ .Values.output.elasticsearch.port }} | ||
Index {{ .Values.output.elasticsearch.index }} | ||
HTTP_User {{ .Values.output.elasticsearch.user }} | ||
HTTP_Passwd ${ES_PASSWORD} | ||
tls On | ||
tls.verify Off | ||
Suppress_Type_Name On | ||
Replace_Dots On | ||
{{- end }} | ||
[OUTPUT] | ||
Name stdout | ||
Match * |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{{- if .Values.output.elasticsearch.enabled -}} | ||
apiVersion: v1 | ||
kind: Secret | ||
metadata: | ||
name: elasticsearch-password | ||
namespace: {{ include "nimbus-k8tls.fullname" . }}-env | ||
type: Opaque | ||
data: | ||
es_password: {{ .Values.output.elasticsearch.password }} | ||
{{- end }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters