Administrator
- Administrator
- All Products
Key
| Type
| Required
| Description
|
---|---|---|---|
File
| String
| Yes
| Absolute path and name of the source file you want to read.
|
initialPosition
| String
| Yes
| Starting position to read data from the file to tail.
|
rolloverPattern
| String
| -
| File name pattern for the file that rolls over.
|
tailingMode
| String
| Yes
| Tail a file or multiple files based on the logging pattern.
|
File Name
| String
| Yes
| The name of the target file.
|
interimDirectory
| String
| Yes
| Path to the staging directory on the Secure Agent.
|
rolloverSize
| Integer
| Yes
| The file size, in KB, at which the task moves the file from the staging directory to the target.
|
rolloverEvents
| Integer
| Yes
| Number of events or messages to accumulate before a file rollover.
|
rolloverTime
| Integer
| -
| Length of time, in milliseconds, after which the target file rolls over.
|
{ "Success": { "name": "FileToFile", "description": "FileToFile_V2", "runtimeId": "01000025000000000003", "locationId": "5sJ0JDyJyWLlrosS5qJjsQ", "currentVersion": "2", "messageFormat": "binary", "nodes": [ { "name": "FileToFile_source", "type": "source", "connectionId": "0100000B000000000002", "transformationType": "", "config": [ { "key": "File", "value": "siagent.log" }, { "key": "initialPosition", "value": "Current Time" }, { "key": "rolloverPattern", "value": "" }, { "key": "tailingMode", "value": "Single file" } ] }, { "name": "FileToFile_target", "type": "target", "connectionId": "0100000B000000000002", "transformationType": "", "config": [ { "key": "File Name", "value": "testing.log" }, { "key": "interimDirectory", "value": "/home/agent/infa/test_file_target" }, { "key": "rolloverSize", "value": 100 }, { "key": "rolloverEvents", "value": 100 }, { "key": "rolloverTime", "value": 100 } ] } ], "edges": [ { "from": "FileToFile_source", "to": "FileToFile_target" } ], "runtimeOptions": { "maxLogSize": { "value": 10, "unit": "MB" }, "logLevel": "INFO" } } }