diff --git a/kubernetes/infrastructure/logstash/app/pipelines.yaml b/kubernetes/infrastructure/logstash/app/pipelines.yaml new file mode 100644 index 0000000..4a951ea --- /dev/null +++ b/kubernetes/infrastructure/logstash/app/pipelines.yaml @@ -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 { } + } \ No newline at end of file diff --git a/kubernetes/infrastructure/logstash/pipelines/misc.conf b/kubernetes/infrastructure/logstash/pipelines/misc.conf deleted file mode 100644 index f853a58..0000000 --- a/kubernetes/infrastructure/logstash/pipelines/misc.conf +++ /dev/null @@ -1,8 +0,0 @@ -input { - file { - path => "/tmp/misc" - } -} -output { - stdout { } -} \ No newline at end of file diff --git a/kubernetes/infrastructure/logstash/pipelines/omada.conf b/kubernetes/infrastructure/logstash/pipelines/omada.conf deleted file mode 100644 index a3e87b7..0000000 --- a/kubernetes/infrastructure/logstash/pipelines/omada.conf +++ /dev/null @@ -1,8 +0,0 @@ -input { - file { - path => "/tmp/omada" - } -} -output { - stdout { } -} \ No newline at end of file diff --git a/kubernetes/infrastructure/logstash/pipelines/pipelines.yaml b/kubernetes/infrastructure/logstash/pipelines/pipelines.yaml deleted file mode 100644 index 558f4c1..0000000 --- a/kubernetes/infrastructure/logstash/pipelines/pipelines.yaml +++ /dev/null @@ -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" \ No newline at end of file