Configuring the context instance for a rules-based adapter
Prerequisites:
Create an Adapter Configuration FileIn the Adapter Configuration File, the context instance describes the ordered grouping of components as they are chained together for log file processing. Each log file has a separate context, and multiple contexts can be defined in a single configuration. To configure the context instance,...
- In the left pane of the Adapter Configuration Editor, expand the node Configuration. Select Context Instance. The right pane displays the Context Instance information.
- Select Continuous operation if you want the log file to be monitored for changes continuously. If continuous operation is selected, specify the Maximum Idle Time and Pause Interval values to be used for monitoring. If continuous operation is not specified the Maximum Idle Time and Pause Interval values will be ignored.
- Type the maximum amount of time you want the context to wait for a log file to change before it is shut down in the Maximum Idle Time field.
- Type the amount of time the context should wait after reaching the end of a log file before trying to read again in the Pause Interval field.
- Save the adapter configuration file changes.
Changes in the adapter configuration file are saved in the plug-in project you created. For details of the adapter configuration file structure, please see the related reference topics.
Related Concepts
Overview of the Hyades Generic Log Adapter
Related tasks
Creating a log parser
Creating a rule-based adapter
Creating a static adapter
Related references
Adapter Configuration File structure
Adapter Configuration Editor
Regular expression grammar