ac2550 | a61b86e | 2018-10-10 13:54:08 +0200 | [diff] [blame] | 1 | # Copyright (c) 2018 AT&T Intellectual Property. All rights reserved. |
| 2 | # |
| 3 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 | # you may not use this file except in compliance with the License. |
| 5 | # You may obtain a copy of the License at |
| 6 | # |
| 7 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 8 | # |
| 9 | # Unless required by applicable law or agreed to in writing, software |
| 10 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 | # See the License for the specific language governing permissions and |
| 13 | # limitations under the License. |
| 14 | |
| 15 | FROM docker.elastic.co/logstash/logstash-oss:6.1.3 |
| 16 | |
| 17 | MAINTAINER "The Onap Team" |
| 18 | LABEL Description="Logstash image with some plugins needed for the clamp dashboard" |
| 19 | |
| 20 | # Default aaf certificates |
| 21 | COPY certs /certs.d/ |
| 22 | |
| 23 | # remove default pipeline first |
| 24 | COPY pipeline/logstash.conf /usr/share/logstash/pipeline/logstash.conf |
| 25 | |
| 26 | # add plugins needed by aggregation part of the pipeline |
| 27 | RUN /usr/share/logstash/bin/logstash-plugin install logstash-filter-elasticsearch |
| 28 | RUN /usr/share/logstash/bin/logstash-plugin install logstash-filter-prune |