File-tail event receiver reads the tail of a given file and feeds that to the product engine. It only supports text input mapping type.
...
For instructions on creating a file-tail event receiver, see Configuring Event Receivers. .
Configuring global properties
The following global property can be set for the file-tail
event receiver type in the <DAS_HOME>/repository/conf/input-event-adapters.xml
file. This property applies to all the receivers of the file-tail
type. If this property is removed from the file, its default value still applies.
Property Key | Description | Data Type | Default Value |
---|---|---|---|
events.duplicated.in.cluster | If this property is set to true , events received by file-tail receivers are re-created in every node in the cluster. | Boolean | false |
Configuring adapter properties
...
Adapter property | Description | Configuration file property | Example |
---|---|---|---|
File path | Absolute path of the text file to read the data from. | filepath | /Users/User/Desktop/abc.txt |
Delay | The delay between checks for new content on file in milliseconds. | delayInMillis | 10 |
Start From End | Set to true to tail from the end of the file, false to tail from the beginning of the file. | startFromEnd | true |