The following table describes the properties that you need to configure for the file target service type:
Entity Name
Name of the target service. Maximum length is 32 characters.
Description
Description of the target service. Maximum length is 256 characters.
Output File Directory
Full path to the directory that contains the target files.
File Name
Name of the target file. The following special characters are not allowed:
* : ? " < > | / \
Maximum length is 200 characters.
Append timestamp to filename?
Indicate whether the timestamp must be appended to the file name.
Date and Time Format
Date and time format to append to the rollover file name. The following special characters are not allowed:
* : ? " < > | / \
For example, the following date string represents 3:00 pm on December 07, 2014 if you specify the format as
<yyyy>-<MM>-<dd>-<HH>-<mm>-<ss>
:
2014-12-07-15-00-00
For more information about the date and time format, see the
Java SimpleDateFormat documentation.
Rollover Size (MB)
Optional. Target file size, in megabytes (MB), at which to trigger rollover. A value of zero (0) means that the target service does not roll the file over based on size. Default is 10.
Rollover Time (Hrs)
Optional. Length of time, in hours, to keep a target file active. After the time period has elapsed, the target service rolls the file over. A value of zero (0) means that the target service does not roll the file over based on time. Default is 0.
Buffer Size (KB)
The size of the data that the target service flushes to the file system.
Receive Idle Events
Indicate whether the target service should flush the data to the file system if the size of the data is less than the buffer size.
Time Out (Seconds)
Time in seconds after which the target service flushes the data to the file system.
Rollover File Directory
Full path to the directory that contains the rollover files.
Retry on Failure
Indicates that the target service should try to write to the target if the operation fails the first time.
Number of Retries
The number of times the target service should retry to write to the source.
Delay between Retries
Time in milliseconds between successive retries.
Statistics
You can choose to monitor the following statistics for the File target service:
Bytes Received. The number of bytes the target service receives.
Events Received. The number of events the target service receives.
Receive Rate (Per Sec). The number of bytes the target service receives every second.
Events Reassigned. The number messages that the source service resends to the target service when it has not received acknowledgment from the target service.