From 412da893a075c31ce8473d57989b33dea9a7dbb2 Mon Sep 17 00:00:00 2001 From: Edward Cheng Date: Wed, 10 Jul 2024 17:17:20 +1000 Subject: [PATCH] add multi-pipelines configmap for logstash --- kubernetes/infrastructure/logstash/pipelines/misc.conf | 8 ++++++++ kubernetes/infrastructure/logstash/pipelines/omada.conf | 8 ++++++++ .../infrastructure/logstash/pipelines/pipelines.yaml | 4 ++++ 3 files changed, 20 insertions(+) create mode 100644 kubernetes/infrastructure/logstash/pipelines/misc.conf create mode 100644 kubernetes/infrastructure/logstash/pipelines/omada.conf create mode 100644 kubernetes/infrastructure/logstash/pipelines/pipelines.yaml diff --git a/kubernetes/infrastructure/logstash/pipelines/misc.conf b/kubernetes/infrastructure/logstash/pipelines/misc.conf new file mode 100644 index 0000000..f853a58 --- /dev/null +++ b/kubernetes/infrastructure/logstash/pipelines/misc.conf @@ -0,0 +1,8 @@ +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 new file mode 100644 index 0000000..a3e87b7 --- /dev/null +++ b/kubernetes/infrastructure/logstash/pipelines/omada.conf @@ -0,0 +1,8 @@ +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 new file mode 100644 index 0000000..558f4c1 --- /dev/null +++ b/kubernetes/infrastructure/logstash/pipelines/pipelines.yaml @@ -0,0 +1,4 @@ +- 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