-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
cary
committed
Apr 25, 2017
1 parent
23ccc53
commit a3ff658
Showing
5 changed files
with
83 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
version: '2' | ||
|
||
services: | ||
elasticsearch-xpack5: | ||
build: ./elasticsearch-xpack5 | ||
ports: | ||
- "9200:9200" | ||
environment: | ||
ES_JAVA_OPTS: '-Xms1024m -Xmx1024m' | ||
restart: always | ||
fluentd-es: | ||
build: ./fluentd-es | ||
depends_on: | ||
- elasticsearch-xpack5 | ||
ports: | ||
- "24224:24224" | ||
restart: always | ||
kibana-xpack5: | ||
build: ./kibana-xpack5 | ||
depends_on: | ||
- elasticsearch-xpack5 | ||
- fluentd-es | ||
ports: | ||
- "5602:5601" | ||
environment: | ||
ELASTICSEARCH_URL: 'http://172.16.1.12:9200' | ||
XPACK_MONITORING_ENABLED: 'false' | ||
restart: always |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
FROM elasticsearch:5.1.1 | ||
|
||
#ADD ./x-pack-5.0.1.zip / | ||
|
||
#RUN bin/elasticsearch-plugin install file:///x-pack-5.0.1.zip | ||
|
||
#COPY ./x-pack-5.0.1.jar /usr/share/elasticsearch/plugins/x-pack/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
FROM fluent/fluentd:v0.12.30 | ||
|
||
RUN gem sources --remove https://rubygems.org/ | ||
RUN gem sources -a https://ruby.taobao.org/ | ||
RUN gem sources -u | ||
RUN gem install fluent-plugin-elasticsearch | ||
|
||
COPY ./fluent.conf /fluentd/etc/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
<source> | ||
@type forward | ||
@id input1 | ||
@label @mainstream | ||
port 24224 | ||
</source> | ||
|
||
<filter **> | ||
@type stdout | ||
</filter> | ||
|
||
<label @mainstream> | ||
<match **> | ||
@type elasticsearch | ||
host 172.16.1.12 | ||
port 9200 | ||
#user elastic | ||
#password Email123456 | ||
scheme http | ||
index_name fluentd | ||
type_name fluentd | ||
logstash_format true | ||
reload_connections false | ||
</match> | ||
#<match **> | ||
# @type file | ||
# @id output1 | ||
# path /fluentd/log/data.*.log | ||
# symlink_path /fluentd/log/data.log | ||
# append true | ||
# time_slice_format %Y%m%d | ||
# time_slice_wait 10m | ||
# time_format %Y%m%dT%H%M%S%z | ||
#</match> | ||
</label> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
FROM kibana:5.1.1 | ||
|
||
#ADD ./x-pack-5.0.1.zip / | ||
|
||
#RUN kibana-plugin install file:///x-pack-5.0.1.zip |