mirror of
https://github.com/elastic/logstash.git
synced 2025-04-23 14:17:58 -04:00
This adds a simple Logstash config sample that works as a standard Beats -> Logstash -> Elasticsearch starting point. It's being deployed in packages, typically under /etc/logstash/logstash-sample.conf This also adds a Dockerfile that can be used to build the artifacts. Fixes #9588
17 lines
342 B
Text
17 lines
342 B
Text
# Sample Logstash configuration for creating a simple
|
|
# Beats -> Logstash -> Elasticsearch pipeline.
|
|
|
|
input {
|
|
beats {
|
|
port => 5044
|
|
}
|
|
}
|
|
|
|
output {
|
|
elasticsearch {
|
|
hosts => ["http://localhost:9200"]
|
|
index => "%{[@metadata][beat]}-%{[@metadata][version]}-%{+YYYY.MM.dd}"
|
|
#user => "elastic"
|
|
#password => "changeme"
|
|
}
|
|
}
|