Query Manipulation Server 24.2

# Use the Example Perl Scripts

This section describes how to push event data to your Statistics Server using one of the example Perl scripts.

To record statistics, ensure that the component you want to monitor and the Statistics Server are both running.

To push events using the example Perl script

- Run the script, as in the following example:

      perl script.pl datafile.log host port idolname

  where,

  - `script.pl` is the script to run.
  - `datafile.log` is the path of the log file to read events from.
  - `host` is the host name or IP address of the Statistics Server.
  - `port` is the event port of the Statistics Server.
  - `idolname` is the name assigned to the component being monitored. This argument is optional for the `stats-query.pl` script but required for running `stats-qms-rules.pl`. Use the same name as the name you specified with the `IDOLName` parameter in the Statistics Server configuration file (see Record Statistics from Multiple IDOL Servers).

Copyright 2024 Open Text
Version 24.2 | Last updated March 2024

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to MFI-swpdl.idoldocsfeedback@opentext.com.

We appreciate your feedback!

Product: IDOL Query Manipulation Server 24.2

Topic Title: Use the Example Perl Scripts