Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
docker-elk
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
段孔乐
docker-elk
Commits
fbac2cd9
Commit
fbac2cd9
authored
Aug 17, 2022
by
testserver
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add es password
parent
122287a2
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
10 additions
and
8 deletions
+10
-8
docker-compose.yml
docker-compose.yml
+4
-4
elasticsearch.yml
elasticsearch/config/elasticsearch.yml
+2
-2
kibana.yml
kibana/config/kibana.yml
+1
-1
logstash.yml
logstash/config/logstash.yml
+1
-1
logstash.conf
logstash/pipeline/logstash.conf
+2
-0
No files found.
docker-compose.yml
View file @
fbac2cd9
...
@@ -13,11 +13,11 @@ services:
...
@@ -13,11 +13,11 @@ services:
read_only
:
true
read_only
:
true
-
"
./elasticsearch/data:/usr/share/elasticsearch/data"
-
"
./elasticsearch/data:/usr/share/elasticsearch/data"
ports
:
ports
:
-
"
$ES_PORT1:9200"
-
"
127.0.0.1:
$ES_PORT1:9200"
-
"
$ES_PORT2:9300"
-
"
127.0.0.1:
$ES_PORT2:9300"
environment
:
environment
:
ES_JAVA_OPTS
:
"
-Xmx
1024m
-Xms1024
m"
ES_JAVA_OPTS
:
"
-Xmx
2048m
-Xms2048
m"
ELASTIC_PASSWORD
:
changeme
ELASTIC_PASSWORD
:
Qeus@ge23eM
# Use single node discovery in order to disable production mode and avoid bootstrap checks.
# Use single node discovery in order to disable production mode and avoid bootstrap checks.
# see: https://www.elastic.co/guide/en/elasticsearch/reference/current/bootstrap-checks.html
# see: https://www.elastic.co/guide/en/elasticsearch/reference/current/bootstrap-checks.html
discovery.type
:
single-node
discovery.type
:
single-node
...
...
elasticsearch/config/elasticsearch.yml
View file @
fbac2cd9
...
@@ -9,7 +9,7 @@ cluster.max_shards_per_node: 30000
...
@@ -9,7 +9,7 @@ cluster.max_shards_per_node: 30000
## X-Pack settings
## X-Pack settings
## see https://www.elastic.co/guide/en/elasticsearch/reference/current/setup-xpack.html
## see https://www.elastic.co/guide/en/elasticsearch/reference/current/setup-xpack.html
#
#
xpack.license.self_generated.type
:
trial
xpack.license.self_generated.type
:
basic
xpack.monitoring.history.duration
:
3d
xpack.monitoring.history.duration
:
3d
xpack.security.enabled
:
fals
e
xpack.security.enabled
:
tru
e
xpack.monitoring.collection.enabled
:
true
xpack.monitoring.collection.enabled
:
true
kibana/config/kibana.yml
View file @
fbac2cd9
...
@@ -10,6 +10,6 @@ monitoring.ui.container.elasticsearch.enabled: true
...
@@ -10,6 +10,6 @@ monitoring.ui.container.elasticsearch.enabled: true
## X-Pack security credentials
## X-Pack security credentials
#
#
elasticsearch.username
:
elastic
elasticsearch.username
:
elastic
elasticsearch.password
:
changeme
elasticsearch.password
:
Qeus@ge23eM
# i18n.locale: "zh-CN"
# i18n.locale: "zh-CN"
logstash/config/logstash.yml
View file @
fbac2cd9
...
@@ -9,4 +9,4 @@ xpack.monitoring.elasticsearch.hosts: [ "http://elasticsearch:9200" ]
...
@@ -9,4 +9,4 @@ xpack.monitoring.elasticsearch.hosts: [ "http://elasticsearch:9200" ]
#
#
xpack.monitoring.enabled
:
true
xpack.monitoring.enabled
:
true
xpack.monitoring.elasticsearch.username
:
elastic
xpack.monitoring.elasticsearch.username
:
elastic
xpack.monitoring.elasticsearch.password
:
changeme
xpack.monitoring.elasticsearch.password
:
Qeus@ge23eM
logstash/pipeline/logstash.conf
View file @
fbac2cd9
...
@@ -127,5 +127,7 @@ output {
...
@@ -127,5 +127,7 @@ output {
elasticsearch
{
elasticsearch
{
index
=>
"%{[env]}-%{[service][program]}-%{[service][version]}-%{[service][name]}-%{+YYYY.MM}-000000"
index
=>
"%{[env]}-%{[service][program]}-%{[service][version]}-%{[service][name]}-%{+YYYY.MM}-000000"
hosts
=> [
"elasticsearch:9200"
]
hosts
=> [
"elasticsearch:9200"
]
user
=>
"elastic"
password
=>
"Qeus@ge23eM"
}
}
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment