Skip to content

Commit

Permalink
Upgraded to the 6.1 versions of ELK. Everything installs and runs. ne…
Browse files Browse the repository at this point in the history
…ed to test to make sure that collection logs work. however, this needs to be redone completely. Fixed #24
  • Loading branch information
infosec-alchemist committed Jan 3, 2018
1 parent d8609fc commit 86842fc
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
12 changes: 6 additions & 6 deletions analytic-system/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -29,19 +29,19 @@ RUN wget http://downloads.typesafe.com/scala/2.11.7/scala-2.11.7.tgz?_ga=1.20486
############################

RUN echo "*** Installing Spark ***"
RUN wget http://archive.apache.org/dist/spark/spark-2.1.2/spark-2.1.2-bin-hadoop2.6.tgz -q \
&& tar -xf spark-2.1*.tgz \
RUN wget http://archive.apache.org/dist/spark/spark-2.2.1/spark-2.2.1-bin-hadoop2.6.tgz -q \
&& tar -xf spark-2.2*.tgz \
&& mkdir /usr/local/spark \
&& mv spark-2.1*/* /usr/local/spark/
&& mv spark-2.2*/* /usr/local/spark/
#This will quiet the INFO and WARN to console when testing.
COPY log4j.properties /usr/local/spark/conf
COPY spark-defaults.conf /usr/local/spark/conf

RUN echo "*** Installing Elasticsearch-hadoop ****"
RUN wget http://download.elastic.co/hadoop/elasticsearch-hadoop-5.6.3.zip -q \
RUN wget http://download.elastic.co/hadoop/elasticsearch-hadoop-6.1.1.zip -q \
#&& mkdir /usr/local/spark/jars \
&& unzip elasticsearch-hadoop-5*.zip \
&& mv elasticsearch-hadoop-5.6.3/dist/elasticsearch-hadoop-5.6.3.jar /usr/local/spark/jars/elasticsearch-hadoop.jar \
&& unzip elasticsearch-hadoop-6*.zip \
&& mv elasticsearch-hadoop-6.1.1/dist/elasticsearch-hadoop-6.1.1.jar /usr/local/spark/jars/elasticsearch-hadoop.jar \
&& rm -r elasticsearch-hadoop*


Expand Down
4 changes: 2 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ version: '2'
services:

elasticsearch:
build: ./elasticsearch
image: docker.elastic.co/elasticsearch/elasticsearch:6.1.1
container_name: elasticsearch
environment:
ES_JAVA_OPTS: "-Xms1g -Xmx1g"
Expand Down Expand Up @@ -37,7 +37,7 @@ services:
ipv4_address: 10.0.2.2

kibana:
build: ./kibana
image: docker.elastic.co/kibana/kibana:6.1.1
container_name: kibana
volumes:
- ./kibana/config/:/usr/share/kibana/config
Expand Down
2 changes: 1 addition & 1 deletion kibana/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

FROM docker.elastic.co/kibana/kibana:5.6.1
FROM docker.elastic.co/kibana/kibana:6.1.1

LABEL mantained="Unfetter"
LABEL description="Basic kibana docker file"
2 changes: 1 addition & 1 deletion logstash/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM docker.elastic.co/logstash/logstash:5.6.1
FROM docker.elastic.co/logstash/logstash:6.1.1
LABEL mantained="Unfetter"
LABEL description="Basic logstash docker file"

Expand Down

0 comments on commit 86842fc

Please sign in to comment.