Simple logstash.conf not producing index

Here is my logstash.conf:

input {
file {
"path" /home/ubuntu/ELK/2018-12-05-17-33.log

output {
elasticsearch {
"hosts" => ""
"index" => "hwm_a"

There are no errors in /var/log/ syslog ./elasticsearch/gc.log.0.current ./logstash/logstash-plain.log , and hwm_a does not show up in Create Index Pattern.

I am restarting logstash with systemctl restart logstash each time logstash.conf is changed.

Thank You for your help!

Hey @lynnptilby,
also in place of put

would suggest you to change the name of the index.



I made the changes suggested above:

"hosts" => ""
"index" => "hwmb"

No difference... hwmb is not showing in Kibana in Create index pattern.

My gut feel is that this is not a logstash.conf syntax problem; but, is perhaps an elasticsearch problem?

THOUGHTS anyone?

Thanks again everyone for your help!


when you ping localhost:9200 does it give info about the cluster name ?

The file input plugin is designed to by default tail the file, so will not process anything unless data is appended to it. You can change this behaviour by setting sincedb_path and start_position parameters as outlined in this blog post.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.