update multi-pipelines configmap for logstash

This commit is contained in:
2024-07-10 17:27:19 +10:00
parent 412da893a0
commit 6d1e660e0e
4 changed files with 29 additions and 20 deletions

View File

@@ -0,0 +1,29 @@
apiVersion: v1
kind: ConfigMap
metadata:
name: logstash-pipelines
namespace: logstash
data:
pipelines.yaml: |
- pipeline.id: omada
path.config: "/opt/bitnami/logstash/config/omada.conf"
- pipeline.id: misc
path.config: "/opt/bitnami/logstash/config/misc.conf"
omada.conf: |
input {
file {
path => "/tmp/omada"
}
}
output {
stdout { }
}
misc.conf: |
input {
file {
path => "/tmp/misc"
}
}
output {
stdout { }
}

View File

@@ -1,8 +0,0 @@
input {
file {
path => "/tmp/misc"
}
}
output {
stdout { }
}

View File

@@ -1,8 +0,0 @@
input {
file {
path => "/tmp/omada"
}
}
output {
stdout { }
}

View File

@@ -1,4 +0,0 @@
- pipeline.id: omada
path.config: "/opt/bitnami/logstash/config/omada.conf"
- pipeline.id: misc
path.config: "/opt/bitnami/logstash/config/misc.conf"