Merge pull request #417 from 3dwardch3ng/infra/logstash

update multi-pipelines configmap for logstash
This commit is contained in:
2024-07-10 17:27:36 +10:00
committed by GitHub
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"