It seems like you added multiple input configs, instead
input{
generator { message => 'hi' count => 10 }
file{....}
}
it should be like above but not like
input{
input {generator { message => 'hi' count => 10 }}
file{....}
}
It seems like you added multiple input configs, instead
input{
generator { message => 'hi' count => 10 }
file{....}
}
it should be like above but not like
input{
input {generator { message => 'hi' count => 10 }}
file{....}
}
or try this config
input { generator { message => 'hi' count => 10 } }
filter {
}
output {
stdout {codec=>rubydebug }
elasticsearch{
index => "apache"
}
}
Because your logstash is unable to read that file.
Check file path, permissions
After starting logstash, try adding some lines to your log file.
Your elasticsearch node is down, bring it up
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
© 2020. All Rights Reserved - Elasticsearch
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant logo are trademarks of the Apache Software Foundation in the United States and/or other countries.