No such file to load -- elasticsearch/version

Hi,
I got this error message when I load a logstash file:

[ERROR] 2020-08-28 07:29:27.372 [main] Logstash - java.lang.IllegalStateException: Logstash stopped processing because of an error: (LoadError) no such file to load -- elasticsearch/version

The command I use:
sudo /usr/share/logstash/bin/logstash -r -f test.conf

The test.conf file:

   input {
     file {
       path => ["/home/logstash/testdata.log"]
       sincedb_path => "/dev/null"
       start_position => "beginning"
      }
    }
    filter {
    }
    output {
      stdout {
        codec => rubydebug
      }
    }

Best regards

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