Query Manipulation Server 25.3
Query Manipulation Server Help

# 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 componentname

  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.
  - `componentname` 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 Components).

Copyright 2025 Open Text
Version 25.3 | Last updated July 2025

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: Knowledge Discovery Query Manipulation Server 25.3

Topic Title: Use the Example Perl Scripts