summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSébastien Determe <sd378r@intl.att.com>2018-09-18 08:27:51 +0000
committerGerrit Code Review <gerrit@onap.org>2018-09-18 08:27:51 +0000
commit31b7e68cce37f171af2859e884f35d5d00ecc811 (patch)
treede65740d03e80486b402bb966b49269f95f1da6d
parent82912bbbc020c144ec7d4fca984397284ac0c634 (diff)
parent96f162e2e2dbe7c40d019337d29a46f2fd3e73d8 (diff)
Merge "Add plugin in logstash image"
-rw-r--r--pom.xml16
-rw-r--r--src/main/docker/Dockerfile.logstash7
2 files changed, 23 insertions, 0 deletions
diff --git a/pom.xml b/pom.xml
index 68b80ab8d..e522573db 100644
--- a/pom.xml
+++ b/pom.xml
@@ -945,6 +945,22 @@
</assembly>
</build>
</image>
+ <image>
+ <name>onap/clamp-dashboard-logstash</name>
+ <alias>onap-clamp-dashboard-logstash</alias>
+ <run>
+ <skip>true</skip>
+ </run>
+ <build>
+ <cleanup>true</cleanup>
+ <tags>
+ <tag>latest</tag>
+ <tag>${project.docker.latesttagtimestamp.version}</tag>
+ <tag>${project.docker.latesttag.version}</tag>
+ </tags>
+ <dockerFile>Dockerfile.logstash</dockerFile>
+ </build>
+ </image>
</images>
</configuration>
diff --git a/src/main/docker/Dockerfile.logstash b/src/main/docker/Dockerfile.logstash
new file mode 100644
index 000000000..fea3fd6d0
--- /dev/null
+++ b/src/main/docker/Dockerfile.logstash
@@ -0,0 +1,7 @@
+FROM docker.elastic.co/logstash/logstash:6.1.3
+
+MAINTAINER "The Onap Team"
+LABEL Description="Logstash image with some plugins needed for the clamp dashboard"
+
+RUN /usr/share/logstash/bin/logstash-plugin install logstash-filter-elasticsearch
+RUN /usr/share/logstash/bin/logstash-plugin install logstash-filter-prune