Add Base Configs
This commit is contained in:
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