Configuring sensor component
The role of the sensor is to provide the means to read the content for processing. The sensor
can be configured as follows:
- In the left pane of the Adapter editor, select Configuration > Context Instance > Sensor.
The right pane will display the sensor information.

- Select a type from the Sensor type list. By default, the selected sensor is the SingleOSFileSensor.
-
If the sensor type is changed, you need to update the sensor component under Contexts.
- Select Contexts and select the sensor component.
- Update the Name, Description and Executable class.
- Save the configuration file to apply the changes.
- To update existing sensor properties, follow these steps
- Selecting Configuration > Context Instance > Sensor > Property name.
- Edit the property value.
- Save the configuration file to apply the changes.
- To add a new property, follow these steps:
- Select Configuration > Context Instance > Sensor.
- Right click to bring up the popup menu.Select Add > Property. The right pane refreshes
with fields to enter the property name and value.
- Type the name and value of the property.
- Save the configuration file to apply the changes.
For a list of supported sensor properties, see the Configuration
file structure reference document.
Hint:
Additional properties that are specific to a sensor can be added to custom sensors
(e.g. rules-based or static parser sensor). For the static parser sensor, this allows
for configuration information to be added that can be passed to the static parser delegate.
Related concepts
Generic Log Adapter editor
Related tasks
Developing an end-to-end transform solution
Testing an adapter configuration file with the editor test views
Deleting an adapter configuration file
Related reference
Configuration file structure
Regular expression grammar
Generic Log Adapter editor icons
(C) Copyright IBM Corporation 2000, 2004. All Rights Reserved.