Hello,
Not sure what I'm missing:
I have setup a docker elk stack and now I'm trying to see if I can ingest a log file locally. I was having trouble with logstash shutting down when introducing a new input. See this thread:
https://discuss.elastic.co/t/pipeline-terminated-pipeline-id-monitoring-logstash-logstash-shutdown/202709
Now I just want to play with some files and test how they will look.
Here is my logstash.conf
input {
file {
path => "/opt/docker-elk/input.txt"
start_position => "beginning"
sincedb_path => "/dev/null"
}
}
## Add your filters / logstash plugins configuration here
output {
elasticsearch {
hosts => "elasticsearch:9200"
user => "elastic"
password => "changeme"
}
stdout {
codec => rubydebug
}
}
What am I missing? I don't see any activity logged when I add lines to the input.txt