# No such file to load -- elasticsearch/version

**URL:** <https://discuss.elastic.co/t/no-such-file-to-load-elasticsearch-version/246724>\
**Category:** Logstash\
**Created:** [August 28, 2020, 7:37am UTC](https://discuss.elastic.co/t/no-such-file-to-load-elasticsearch-version/246724 "2020-08-28T07:37:37Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ismael\_Garcia](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ismael_garcia/32/74681_2.png) [@Ismael\_Garcia](https://discuss.elastic.co/u/Ismael_Garcia)\
**Post date:** [August 28, 2020, 7:37am UTC](https://discuss.elastic.co/t/no-such-file-to-load-elasticsearch-version/246724/1 "2020-08-28T07:37:37Z")

</div>

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:

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

```

Best regards

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [September 25, 2020, 7:37am UTC](https://discuss.elastic.co/t/no-such-file-to-load-elasticsearch-version/246724/2 "2020-09-25T07:37:42Z")

</div>

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