logstash-plugins / logstash-input-couchdb_changes

This plugin captures the _changes stream from a CouchDB instance
Apache License 2.0
27 stars 22 forks source link

Seq file permission when running LS as a service. #28

Open teebu opened 8 years ago

teebu commented 8 years ago

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.

keisetsu commented 8 years ago

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 8 years ago

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