Appendixes > Record Statistics with Statistics Server > Action and Action Parameter Reference > AddStat

AddStat
The AddStat action creates a new statistic while Statistics server is running. The statistic is added 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.
 
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. These parameters are added to the configuration section for the new statistic.
The following configuration parameters can be added:
*
*
*
*
*
*
*
*
*
*
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