logstash with date specific file names -
i have app writes logs like
access_log-2014-09-08 access_log-2014-09-09 access_log-2014-09-10
it seems if have input=>file=>path defined access_log* works on files there when started up. when midnight rolls around, , makes new file, logstash doesn't see it. there way specify path catch this? don't need tailing except current day. it's not huge problem if looks @ cleaner , nice not that.
logstash config:
input { file { path => [ "/var/log/apache/access_log-*" ] } ... filters , output ... }
Comments
Post a Comment