update multi-pipelines configmap for logstash
This commit is contained in:
29
kubernetes/infrastructure/logstash/app/pipelines.yaml
Normal file
29
kubernetes/infrastructure/logstash/app/pipelines.yaml
Normal 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 { }
|
||||
}
|
||||
@@ -1,8 +0,0 @@
|
||||
input {
|
||||
file {
|
||||
path => "/tmp/misc"
|
||||
}
|
||||
}
|
||||
output {
|
||||
stdout { }
|
||||
}
|
||||
@@ -1,8 +0,0 @@
|
||||
input {
|
||||
file {
|
||||
path => "/tmp/omada"
|
||||
}
|
||||
}
|
||||
output {
|
||||
stdout { }
|
||||
}
|
||||
@@ -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"
|
||||
Reference in New Issue
Block a user