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 component has more configuration information for the rollover_size and flush configuration settings.
- The frequency is set to 40 seconds.
- The destination for the statistics report is the an.log file.
- pdweb.jct.1
- For the pdweb.jct.1 component:
The component has more configuration information for the rollover_size and flush configuration settings.
- The frequency is set to 50 seconds,
- The destination for the statistics report is the jct.log file.
- pdweb.jmt
- For the pdweb.jmt component:
The component has more configuration information for the rollover_size and flush configuration settings.
- The frequency is set to 20 seconds.
- The destination for the statistics report is the jmtA.log and the jmtB.log files.
[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