A batch process is run that generates multiple files; the file names match the agent config pattern. However, the agent only detects the single latest file seen at the moment of Sample Frequency. All files listed below were created during the same batch run. Only the two indicated files were seen by the LogFilter agent; in each case, just the latest file available at the time of polling frequency – once during batch run, once after completion of batch. Is this the correct configuration for the LogFilter agent?
-rw-r--r-- 1 foglight foglight 9334 Jan 01 09:59 SYB_XXX1_check_everything.12918.20110427_095913.log
-rw-r--r-- 1 foglight foglight 1677 Apr 27 09:59 SYB_XXX2_check_everything.12918.20110427_095913.log
-rw-r--r-- 1 foglight foglight 13332 Apr 27 09:59 SYB_XXX3_check_everything.12918.20110427_095913.log
...
-rw-r--r-- 1 foglight foglight 10412 Apr 27 09:59 SYB_XXX4_check_everything.12918.20110427_095913.log <<<<< DETECTED
-rw-r--r-- 1 foglight foglight 12965 Apr 27 09:59 SYB_XXX5_check_everything.12918.20110427_095913.log
-rw-r--r-- 1 foglight foglight 14421 Apr 27 09:59 SYB_XXX6_check_everything.12918.20110427_095913.log
drwxr-xr-x 3 foglight foglight 1483776 Apr 27 09:59 .
-rw-r--r-- 1 foglight foglight 9475 Apr 27 09:59 SYB_XXX7_check_everything.12918.20110427_095913.log <<<<< DETECTED
-rw-r--r-- 1 foglight foglight 12456 Apr 27 09:59 execsql_check_everything.12918.20110427_095913.log
The agent is being used contrary to its intended use. When the agent has been configured for 1 log file, it will process 1 log file per collection interval and since log rolling is enabled, it will examine the newest file in the rolling log set. Here, the agent is working exactly as designed since only log file 1 is configured for the agent.
© 2024 Quest Software Inc. ALL RIGHTS RESERVED. Feedback Nutzungsbedingungen Datenschutz Cookie Preference Center