logstash-plugins / logstash-filter-grok

Grok plugin to parse unstructured (log) data into something structured.
https://www.elastic.co/guide/en/logstash/current/plugins-filters-grok.html
Apache License 2.0
124 stars 97 forks source link

custom patterns - permissions denied #38

Closed jordansissel closed 9 years ago

jordansissel commented 9 years ago

(This issue was originally filed by @mcgkev29 at https://github.com/elastic/logstash/issues/1841)


I setup a custom pattern file in /opt/logstash/patterns/patterns/

when I restart the service logstash will not work/filter logs

when I review the logstash logs in /var/log/ I see this: The error reported is: \n Permission denied - /opt/logstash/patterns/patterns"}

these are the permissions though: drw-rw-rw- 2 logstash logstash 4096 Oct 3 10:02 patterns

here is my filter clause: grok { break_on_match => "true" patterns_dir => "./patterns"

jordansissel commented 9 years ago

@mcgkev29 - Can you add --debug to your logstash command line and attach the output after, and including, the "Permission denied" error?

jordansissel commented 9 years ago

No response since May. Will close. We can revisit in a new ticket if this needs further attention. :)