I'm just getting started with the ELK stack and have some problems testing Logstash with Elasticsearch.
I run a fresh fedora 24 installation and already installed Elasticsearch 2.4 on it. The curl test on localhost looks good.
Now I installed Logstash 2.4 through dnf.
I used https://packages.elastic.co/logstash/2.4/centos for the repo.
fetched an invalid config {:config=>"input { stdin { } } output { elasticsearch { host = localhost } }", :reason=>"Expected one of #, => at line 1, column 51 (byte 51) after output { elasticsearch { host ", :level=>:error}
When I run tail on the /var/log/logstash/logstash.log I can see the following message
:timestamp=>"2016-09-07T12:05:34.408000+0200", :message=>"No config files found: /etc/logstash/conf.d/*\nCan you make sure this path is a logstash config file?", :level=>:error
Which is true, /etc/logstash/conf.d has no configuration files at all and there is no configuration folder in /opt/logstash either.
Am I supposed to create the configuration files my self or am I doing something wrong here? Any ideas?
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.