I just use a very simple configuration that writes data from a file to elasticsearch.
Here is my configuration
input { file { path => "/var/log/logstash/logstash.log" start_position => beginning } } output { elasticsearch { protocol => "http" } stdout {} }
and when starting logstash with
./bin/logstash -f / path / to / mycofig / i-file-o-es.conf
I get an error
Unknown 'protocol' parameter for elasticsearch {: level =>: error}
I can get this configuration to work by removing the protocol =>, so I think my plugin is installed correctly.
Has anyone encountered this problem before? Thanks!
source share