From d691cc89e106d710f4d36bc3998501415588e2e1 Mon Sep 17 00:00:00 2001 From: "Sridhar K. N. Rao" Date: Tue, 11 Jun 2019 12:53:58 +0530 Subject: Docker: VSPERF Results Container. This patch adds docker-compose.yml and related config files for creating a results container. The container hosts following services: 1. Barometer Grafana. 2. Barometer Influxdb. 2. ELK Stack. 3. OPNFV TestAPI. 4. Jupyter Notebook with VSPERF testresults-analysis. Removed dashboard files, which can be obtained from barometer-grafana. Added comment in tools.rst under pre-deployment Retained only vpserf-cases and vsperf in cases.json and projects.json Changed barometer-influxdb to influxdb:latest. Added README.md file. Added environment variable setting to disable token for jupyter JIRA: VSPERF-602 Change-Id: I37a1391a1f34f834ce0d46def75a9f3454e09772 Signed-off-by: Sridhar K. N. Rao --- tools/docker/results/logstash/pipeline/02-beats-input.conf | 6 ++++++ .../results/logstash/pipeline/20-collectd-input.conf | 14 ++++++++++++++ tools/docker/results/logstash/pipeline/30-output.conf | 7 +++++++ 3 files changed, 27 insertions(+) create mode 100644 tools/docker/results/logstash/pipeline/02-beats-input.conf create mode 100644 tools/docker/results/logstash/pipeline/20-collectd-input.conf create mode 100644 tools/docker/results/logstash/pipeline/30-output.conf (limited to 'tools/docker/results/logstash/pipeline') 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 { } + } +} -- cgit 1.2.3-korg