Initial commit
This commit is contained in:
18
logstash/logstash.conf
Normal file
18
logstash/logstash.conf
Normal file
@ -0,0 +1,18 @@
|
||||
input {
|
||||
tcp {
|
||||
port => 5044
|
||||
codec => json_lines
|
||||
}
|
||||
}
|
||||
|
||||
output {
|
||||
elasticsearch {
|
||||
hosts => ["http://elasticsearch:9200"]
|
||||
user => "logstash_main"
|
||||
password => "logstashpass"
|
||||
index => "logs-%{+YYYY.MM.dd}"
|
||||
}
|
||||
stdout {
|
||||
codec => rubydebug
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user