collector icon indicating copy to clipboard operation
collector copied to clipboard

Collector Does not Pick Up New Files in Grep Path

Open nugend opened this issue 10 years ago • 1 comments

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:

  1. Start collector using configuration
  2. 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)
  3. Create files in pertinent paths and append to them
  4. No logs are submitted to Graylog
  5. Restart collector
  6. Any logs appended to files are now submitted to Graylog
  7. Create new file in path and append to it
  8. 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.

nugend avatar Sep 17 '15 16:09 nugend

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.

lchanouha avatar Mar 29 '16 11:03 lchanouha