aboutsummaryrefslogtreecommitdiffstats
path: root/tools/docker/results/logstash/pipeline
diff options
context:
space:
mode:
authorSridhar Rao <sridhar.rao@spirent.com>2019-08-07 08:39:04 +0000
committerGerrit Code Review <gerrit@opnfv.org>2019-08-07 08:39:04 +0000
commit391e5ceb8958eff1f108cc2d589dd3a11c7c48a2 (patch)
tree9433aef428e9c4a27fdf16ad0f5edfda4fb8efdd /tools/docker/results/logstash/pipeline
parentd835dbe3fd144c2144669cdf31a96263be21ab51 (diff)
parentd691cc89e106d710f4d36bc3998501415588e2e1 (diff)
Merge "Docker: VSPERF Results Container."
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 { }
+ }
+}