AddStat

The AddStat action creates a new statistic while Statistics Server is running, and adds the statistic to the Statistics Server configuration file.

Parameters

The AddStat action supports the following parameters.

Name

The name of the new statistic. A configuration section with the specified name is added to the Statistics server configuration file.

Type: String
Default: None
Required: Yes
Example: Name=dynamicTopN

ConfigurationOption

Configuration parameters to add for the new statistic. Add each configuration option that you want to configure as an action parameter for the AddStat action. Statistics Server adds these parameters to the configuration section for the new statistic.

You can add the following configuration parameters:

Example

action=AddStat&Name=NewStat&Period=5&Field=Term&Operation=TopN,all

This creates the following section in the configuration file.

[NewStat]
Period=5
Field=Term
Operation=TopN,all

_HP_HTML5_bannerTitle.htm