logstash-plugins/logstash-input-couchdb_changes

Seq file permission when running LS as a service.

Opened this issue · 2 comments

teebu commented

I'm experiencing some permission problems when running LS as a service.

Error: Permission denied - /home/ec2-user/.my_seq", :level=>:error}

It works fine if i start LS from command prompt myself, with my user.

I believe logstash runs under the "logstash" user and group when run as a service. You can change this in /etc/init.d/logstash.

teebu commented

You are correct. I modified the code to make the seq file 777, as well as place the file in /tmp/ folder.