# Upgraded logstash 1.5 to 5.2, now it doesn't read

**URL:** <https://discuss.elastic.co/t/upgraded-logstash-1-5-to-5-2-now-it-doesnt-read/73974>\
**Category:** Logstash\
**Created:** [February 5, 2017, 9:45am UTC](https://discuss.elastic.co/t/upgraded-logstash-1-5-to-5-2-now-it-doesnt-read/73974 "2017-02-05T09:45:00Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![quietsche](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/quietsche/32/15214_2.png) [@quietsche](https://discuss.elastic.co/u/quietsche)\
**Post date:** [February 5, 2017, 9:45am UTC](https://discuss.elastic.co/t/upgraded-logstash-1-5-to-5-2-now-it-doesnt-read/73974/1 "2017-02-05T09:45:00Z")

</div>

Hi everyone. I'm a bit of a newbie with logstash so I hope you could help me with this issue.  
I have this customer who uses AWS Beanstalk and has logstash on those instances. They were using logstash 1.5 and I recently updated that to 5.2.

The input is the /var/log/messages file and I added the following output:

> file {  
> path =\> "/tmp/logstash.out"  
> }  
> stdout {  
> codec =\> rubydebug  
> }

But logstash doesn't create the output file and I get no stdout output. I am writing test lines into the messages file (and it's updated quite frequently by the OS), so it's not a case of an untouched file.

I tried running logstash using initctl, and then tried /usr/share/logstash/bin/logstash -f logstash.conf -config.reload.automatic

EDIT: Also, the logs in /var/log/logstash aren't being written to. I set the log.level to debug but still nothing there, not even when I restart the logstash service, which I assume should be mentioned in the log.

I feel really lost here, I'd appreciate any help. Thanks,  
Daniel

---

<div class="post-metadata">

**Author:** ![magnusbaeck](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/magnusbaeck/32/44943_2.png) [@magnusbaeck](https://discuss.elastic.co/u/magnusbaeck)\
**Post date:** [February 6, 2017, 11:32am UTC](https://discuss.elastic.co/t/upgraded-logstash-1-5-to-5-2-now-it-doesnt-read/73974/2 "2017-02-06T11:32:40Z")

</div>

Sounds like a permissions issue. Make sure the user that Logstash runs as has rwx permissions in /var/log/logstash.

---

<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:** [March 6, 2017, 11:32am UTC](https://discuss.elastic.co/t/upgraded-logstash-1-5-to-5-2-now-it-doesnt-read/73974/3 "2017-03-06T11:32:58Z")

</div>

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