Configure your Log File Input adapter by setting values in the .properties file for the adapter.
For example, specify the name of the log file to read by setting the Input.Filename property. An example .properties file is included in the product.
You can use this adapter to read either live or historical log files.
- To read a historical file, specify the file name in the Input.Filename property, and set the Input.WaitForGrowth property to false.
- To read a live file, whether rotated or advancing, set the Input.WaitForGrowth property to true. The Log File Input adapter goes to the end of the file and then reads as new data is appended to the file. When the file size shrinks to zero (after the old log file is renamed and a new, empty one is created), the Log File Input adapter continues reading from the beginning of the new file.