collector
collector copied to clipboard
Collector Does not Pick Up New Files in Grep Path
Using JDK 1.8.0-25 and collector 0.4.1 on Centos 6.5 Configuration here (sensitive details replaced by XXXX).
Steps to reproduce:
- Start collector using configuration
- Observe message "Configured files for input "tdb-system" do not exist yet. They will be followed once they are created" (Only appears if log directory is empty)
- Create files in pertinent paths and append to them
- No logs are submitted to Graylog
- Restart collector
- Any logs appended to files are now submitted to Graylog
- Create new file in path and append to it
- Logs from new file are not submitted to Graylog
I'm running as a non-root user with read/write access to the log files in question.
I experiment the same problem on version 0.4.2 / Debian 8 Jessie. I must restart the collector manually when new files are created (every day), otherwise they are not transfered to my Graylog server.