Add Base Configs
This commit is contained in:
2
elk-config/elasticsearch/elasticsearch.yml
Executable file
2
elk-config/elasticsearch/elasticsearch.yml
Executable file
@@ -0,0 +1,2 @@
|
||||
cluster.name: "elasticsearch"
|
||||
network.host: localhost
|
||||
7
elk-config/kibana/kibana.yml
Executable file
7
elk-config/kibana/kibana.yml
Executable file
@@ -0,0 +1,7 @@
|
||||
# Default Kibana configuration for docker target
|
||||
server.name: kibana
|
||||
server.host: 0.0.0.0
|
||||
elasticsearch.hosts: [ "http://elasticsearch:9200" ]
|
||||
|
||||
monitoring.ui.container.elasticsearch.enabled: true
|
||||
monitoring.ui.container.logstash.enabled: true
|
||||
17
elk-config/logstash/Logstash.conf
Executable file
17
elk-config/logstash/Logstash.conf
Executable file
@@ -0,0 +1,17 @@
|
||||
input {
|
||||
beats{
|
||||
port => 5044
|
||||
}
|
||||
}
|
||||
|
||||
filter {
|
||||
}
|
||||
|
||||
output {
|
||||
elasticsearch {
|
||||
hosts => "http://elasticsearch:9200"
|
||||
index => "%{[@metadata][beat]}-%{[@metadata][version]}"
|
||||
user => "elastic"
|
||||
password => "password"
|
||||
}
|
||||
}
|
||||
2
elk-config/logstash/Logstash.yml
Executable file
2
elk-config/logstash/Logstash.yml
Executable file
@@ -0,0 +1,2 @@
|
||||
http.host: 0.0.0.0
|
||||
xpack.monitoring.elasticsearch.hosts: ["http://elasticsearch:9200"]
|
||||
Reference in New Issue
Block a user