# 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 2019 Micro Focus or one of its affiliates | Send documentation feedback Close Send documentation feedback To open the configured email client on this computer, open an email window. Otherwise, copy the information below to a mail client, and then send this email to swpdl.idoldocsfeedback@microfocus.com. We appreciate your feedback! Product: Topic Title: Help Topic: Feedback:

_FT_HTML5_bannerTitle.htm