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
9dd74871
Commit
9dd74871
authored
Aug 17, 2022
by
段孔乐
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'test-sever' into 'main'
add es password See merge request
!12
parents
5debeb3d
fbac2cd9
Hide 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 @
9dd74871
...
...
@@ -13,11 +13,11 @@ services:
read_only
:
true
-
"
./elasticsearch/data:/usr/share/elasticsearch/data"
ports
:
-
"
$ES_PORT1:9200"
-
"
$ES_PORT2:9300"
-
"
127.0.0.1:
$ES_PORT1:9200"
-
"
127.0.0.1:
$ES_PORT2:9300"
environment
:
ES_JAVA_OPTS
:
"
-Xmx
1024m
-Xms1024
m"
ELASTIC_PASSWORD
:
changeme
ES_JAVA_OPTS
:
"
-Xmx
2048m
-Xms2048
m"
ELASTIC_PASSWORD
:
Qeus@ge23eM
# 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
discovery.type
:
single-node
...
...
elasticsearch/config/elasticsearch.yml
View file @
9dd74871
...
...
@@ -9,7 +9,7 @@ cluster.max_shards_per_node: 30000
## X-Pack settings
## 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.security.enabled
:
fals
e
xpack.security.enabled
:
tru
e
xpack.monitoring.collection.enabled
:
true
kibana/config/kibana.yml
View file @
9dd74871
...
...
@@ -10,6 +10,6 @@ monitoring.ui.container.elasticsearch.enabled: true
## X-Pack security credentials
#
elasticsearch.username
:
elastic
elasticsearch.password
:
changeme
elasticsearch.password
:
Qeus@ge23eM
# i18n.locale: "zh-CN"
logstash/config/logstash.yml
View file @
9dd74871
...
...
@@ -9,4 +9,4 @@ xpack.monitoring.elasticsearch.hosts: [ "http://elasticsearch:9200" ]
#
xpack.monitoring.enabled
:
true
xpack.monitoring.elasticsearch.username
:
elastic
xpack.monitoring.elasticsearch.password
:
changeme
xpack.monitoring.elasticsearch.password
:
Qeus@ge23eM
logstash/pipeline/logstash.conf
View file @
9dd74871
...
...
@@ -127,5 +127,7 @@ output {
elasticsearch
{
index
=>
"%{[env]}-%{[service][program]}-%{[service][version]}-%{[service][name]}-%{+YYYY.MM}-000000"
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