RL Parser Agent

The RLParser agent uses a pull-based mechanism to extract JSON data from logs, minimizing the need for the admin server to push data or manage agent communication continuously.

This approach enables the agent to:

Autonomously retrieve configuration updates and logs as needed, eliminating dependence on external systems to push data.
Establish a connection only when necessary to fetch the latest configuration, then close it upon completion, ensuring secure and efficient communication.
Handle its own scheduling for data retrieval and processing, reducing the admin server’s load and avoiding constant communication overhead.

Configuring the Pull Mechanism

The configuration is designed to manage the operation of the RL Parser and its pull connection to FlexNet Manager for Engineering Applications. The key functions are as follows:

Pull Status

The API will pull the current status of the FlexNet Manager for Engineering Applications system and the RL Parser periodically based on the interval specified.

Start/Stop Parsing

The API can be used to initiate or halt parsing operations through the RL Parser interface. The specific start/stop commands can be pulled by additional API requests, using the URL provided in the configuration.

Automated Monitoring

By setting an interval for status retrieval, the system ensures it remains up-to-date with the latest parsing status, providing an automated way to check the status of the process without manual intervention.

Configuration Parameters

Example Configuration

admin:

url: "http://localhost:8888/flexnet/pub-api/v1/rlparsers/100000"

interval: "5s"

Configuration Details

admin

The admin section refers to the configuration of the system responsible for managing the RL Parser API.

url

The url parameter specifies the API endpoint for interacting with the RL Parser.
The url points to the local service where the FlexNet Manager for Engineering Applications parser is hosted, with a specific RL Parser ID. For example:
http://localhost:8888/flexnet/pub-api/v1/rlparsers/100000

Note:The 100000 is an example of the unique ID of the RLParser. The RLParser ID may vary depending on the parser configuration.

interval

The interval parameter defines how frequently the system should query the status of the FlexNet Manager for Engineering Applications process.
The value is provided in a time format (in this case, "5s" represents a 5-second interval). For example:
"5s" means the system will check the status every 5 seconds.
You can adjust this value based on your needs. Possible values include:
"1s": Every second
"10s": Every ten seconds
"30m": Every 30 minutes