The file input adapter reads the tail of a given file and feeds that to the product engine. It only supports text input mapping type.
Table of Contents maxLevel 3
Excerpt | ||||
---|---|---|---|---|
| ||||
NOTE TO WRITERS: Add the TOC here.
|
Configuring input file event adapter
You can configure input file event adapter using the management console or using a configuration file.
Anchor | ||||
---|---|---|---|---|
|
Follow the instructions below to configure input file event adapter using the management console. This deploys the event adapter in the <PRODUCT_HOME>
/
...
- Log in to the product's management console, and click Configure.
- Click Input Event Adaptors in the Event Processor Configs menu, and then click Add Input Event Adaptor.
- Enter details as shown in the below example.
Click Add Event Adaptor.
Anchor | ||||
---|---|---|---|---|
|
Follow the instructions below to configure input file event adapter using a configuration file.
...
Info |
---|
After an adapter is successfully added, it gets added to the list of adapters displayed under Event Processor Configs in the Configure menu of the product's management console. Click Edit to change its configuration and redeploy it. This opens an XML-based editor allowing you to edit the event adapter configurations from the UI. Do your modifications and click Update. You can also delete it, enable/disable statistics or enable/disable tracing on it using the provided options in the UI. |
Configuring input file event adapter message properties
The configured input event adapters are used in event builders. With input event adapter message properties, event builders are able to extract data from the incoming events to build the event streams. Following are the specific message properties of input file event adapter.
The message properties of the input file . Message properties specific to input event adapters of the file
type can be configured as follows.
- Log into the BAM Management Console. For detailed instructions, see Running the Product.
- In the Main tab, click Event Streams to open the Available Event Streams page.
- Click the Inflows link of the event stream to which the relevant input event adapter is connected. As a result, Event In-Flows (<Input_Event_Adapter_Name>) opens.
Click on the relevant event builder name to open the Event Builder Details page.
The message properties of afile
input event adapter are described below. Change the property values as required.Property Description File path Path of the file to be used as the source to generate events Input Mapping Type The incoming event type to be mapped. The input file event adapter only supports text input mapping type.