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

StatResult 
The StatResult action returns the results of the configured statistics in XML format.
Parameters
The StatResult action supports the following parameters.
Name
Restrict results to the specified statistics. The statistics you enter must exist in the Statistics server configuration file. Separate multiple entries with commas.
 
DateString
Set the timestamp format. Enter true to display the timestamp in human readable format (DD/MM/YYYY HH:MM:SS), or false to display it in epoch time.
 
DynamicValue
The value of the dynamic field. If the field specified in the Name parameter is a dynamic field, specify the value of this field for which you want to return results.
 
From
Set a minimum timestamp value. Statistical results must have a timestamp of equal or greater value to be returned.
 
NOTE The format in which you must enter a value depends on the DateString parameter setting: if it is false, you must enter an epoch time value; if it is true, you must enter a human readable format value.
 
UpTo
Set a maximum timestamp value. Statistical results must have a timestamp of equal or lesser value to be returned.
 
NOTE The format in which you must enter a value depends on the DateString parameter setting: if it is false, you must enter the an epoch time value; if it is true, you must enter a human readable format value.
 
MaxResults
Return the last N statistical results.
 
MaxValues
Return only the top N values for a TopN or CumulativeTopN statistic.
Alternatively, set MaxValues to 0 to return only the number of unique values for TopN or CumulativeTopN statistics, without returning the values.
 
Example
action=statresult&name=stat1,stat2&maxresults=25
In this example, Statistics server returns the most recent 25 results of the stat1 and stat2 statistics.