Enabling statistics for multiple components

Unlike the stats on command, we enable gathering of statistics for multiple components by using multiple stats and logcfg entries in the [aznapi-configuration] stanza. The stanza is in the server configuration file. In the following example, statistics gathering is enabled for the following WebSEAL components:

pdweb.authn
For the pdweb.authn component:
  • The frequency is set to 40 seconds.
  • The destination for the statistics report is the an.log file.
The component has more configuration information for the rollover_size and flush configuration settings.
pdweb.jct.1
For the pdweb.jct.1 component:
  • The frequency is set to 50 seconds,
  • The destination for the statistics report is the jct.log file.
The component has more configuration information for the rollover_size and flush configuration settings.
pdweb.jmt
For the pdweb.jmt component:
  • The frequency is set to 20 seconds.
  • The destination for the statistics report is the jmtA.log and the jmtB.log files.
The component has more configuration information for the rollover_size and flush configuration settings.
[aznapi-configuration]
stats = pdweb.jmt 20
stats = pdweb.authn 40
stats = pdweb.jct.1 50
logcfg = stats.pdweb.jmt:file path=jmtA.log,rollover_size=-1,flush=20
logcfg = stats.pdweb.jmt:file path=jmtB.log,rollover_size=-1,flush=20
logcfg = stats.pdweb.authn:file path=an.log,rollover_size=-1,flush=20
logcfg = stats.pdweb.jct.1:file path=jct.log,rollover_size=-1,flush=20

For detailed information about configuration files, see the Administering topics in the Knowledge Center.

Parent topic: Use stanza entries for statistics