summaryrefslogtreecommitdiffstats
path: root/tools/docker/results/logstash/pipeline
diff options
context:
space:
mode:
Diffstat (limited to 'tools/docker/results/logstash/pipeline')
-rw-r--r--tools/docker/results/logstash/pipeline/02-beats-input.conf6
-rw-r--r--tools/docker/results/logstash/pipeline/20-collectd-input.conf14
-rw-r--r--tools/docker/results/logstash/pipeline/30-output.conf7
3 files changed, 27 insertions, 0 deletions
diff --git a/tools/docker/results/logstash/pipeline/02-beats-input.conf b/tools/docker/results/logstash/pipeline/02-beats-input.conf
new file mode 100644
index 00000000..a00d3f5b
--- /dev/null
+++ b/tools/docker/results/logstash/pipeline/02-beats-input.conf
@@ -0,0 +1,6 @@
+input {
+ beats {
+ port => 5044
+ ssl => false
+ }
+}
diff --git a/tools/docker/results/logstash/pipeline/20-collectd-input.conf b/tools/docker/results/logstash/pipeline/20-collectd-input.conf
new file mode 100644
index 00000000..990903f9
--- /dev/null
+++ b/tools/docker/results/logstash/pipeline/20-collectd-input.conf
@@ -0,0 +1,14 @@
+input {
+ udp {
+ port => 25826
+ buffer_size => 1452
+ type => collectd
+ codec => collectd { }
+ }
+}
+
+filter {
+ mutate {
+ remove_field => [ "host" ]
+ }
+}
diff --git a/tools/docker/results/logstash/pipeline/30-output.conf b/tools/docker/results/logstash/pipeline/30-output.conf
new file mode 100644
index 00000000..0e3161a8
--- /dev/null
+++ b/tools/docker/results/logstash/pipeline/30-output.conf
@@ -0,0 +1,7 @@
+output {
+ elasticsearch {
+ hosts => "http://localhost:9200"
+ manage_template => false
+ codec => collectd { }
+ }
+}