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:

  1. In the left pane of the Adapter editor, select Configuration > Context Instance > Sensor. The right pane will display the sensor information.

    Sensor Configuration

  2. Select a type from the Sensor type list. By default, the selected sensor is the SingleOSFileSensor.
  3. If the sensor type is changed, you need to update the sensor component under Contexts.
    1. Select Contexts and select the sensor component.
    2. Update the Name, Description and Executable class.
    3. Save the configuration file to apply the changes.
  4. To update existing sensor properties, follow these steps
    1. Selecting Configuration > Context Instance > Sensor > Property name.
    2. Edit the property value.
    3. Save the configuration file to apply the changes.
  5. To add a new property, follow these steps:
    1. Select Configuration > Context Instance > Sensor.
    2. Right click to bring up the popup menu.Select Add > Property. The right pane refreshes with fields to enter the property name and value.
    3. Type the name and value of the property.
    4. 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