Bumped up TailFile interval to 60 seconds and updated docs.

This commit is contained in:
Eric Fontana
2015-01-29 10:49:02 -05:00
parent 775935683f
commit fb61a49fe5
2 changed files with 2 additions and 1 deletions

View File

@@ -318,7 +318,7 @@ namespace TimberWinR.Parser
Fields.Add(new Field("LogFilename", "string")); Fields.Add(new Field("LogFilename", "string"));
Fields.Add(new Field("Index", "integer")); Fields.Add(new Field("Index", "integer"));
Fields.Add(new Field("Text", "string")); Fields.Add(new Field("Text", "string"));
Interval = 5; Interval = 30;
} }
public void Validate() public void Validate()

View File

@@ -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. | | | *location* | string |Location of file(s) to monitor | Path to text file(s) including wildcards. | |
| *logSource* | string |Source name | Used for conditions | | | *logSource* | string |Source name | Used for conditions | |
| *recurse* | integer |Max subdirectory recursion level. | 0 disables subdirectory recursion; -1 enables unlimited recursion. | 0 | | *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 | | [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. 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.