diff --git a/TimberWinR/Parser.cs b/TimberWinR/Parser.cs index a7a2199..59d2379 100644 --- a/TimberWinR/Parser.cs +++ b/TimberWinR/Parser.cs @@ -318,7 +318,7 @@ namespace TimberWinR.Parser Fields.Add(new Field("LogFilename", "string")); Fields.Add(new Field("Index", "integer")); Fields.Add(new Field("Text", "string")); - Interval = 5; + Interval = 30; } public void Validate() diff --git a/TimberWinR/mdocs/TailFiles.md b/TimberWinR/mdocs/TailFiles.md index 951a890..b2b57fb 100644 --- a/TimberWinR/mdocs/TailFiles.md +++ b/TimberWinR/mdocs/TailFiles.md @@ -11,6 +11,7 @@ The following parameters are allowed when configuring WindowsEvents. | *location* | string |Location of file(s) to monitor | Path to text file(s) including wildcards. | | | *logSource* | string |Source name | Used for conditions | | | *recurse* | integer |Max subdirectory recursion level. | 0 disables subdirectory recursion; -1 enables unlimited recursion. | 0 | +| *interval* | integer |Polling interval in seconds | Defaults every 60 seconds | 60 | | [codec](https://github.com/Cimpress-MCP/TimberWinR/blob/master/TimberWinR/mdocs/Codec.md) | object | Codec to use | Example Input: Monitors all files (recursively) located at C:\Logs1\ matching *.log as a pattern. I.e. C:\Logs1\foo.log, C:\Logs1\Subdir\Log2.log, etc.