Appendixes > Record Statistics with Statistics Server > Record Statistics from Multiple IDOL Servers

Record Statistics from Multiple IDOL Servers
If you are working with multiple IDOL servers, you may want to collect statistics from some or all of them.
To configure Statistics server for multiple IDOL servers
1.
2.
Create an [IDOLStatistics] section in the Statistics server configuration file.
3.
In the [IDOLStatistics] section, set the Number and EventField parameters.
4.
In the [Statistics] section, set the IDOLName parameter for each statistic.
5.
Related Topics 
*
*
For example:
[IDOLStatistics]
number=2
eventfield=IDOLServerUsed
 
[Statistics]
0=querycount1
1=querycount2
 
[querycount1]
IDOLName=IDOL1
field=spellingquery
operation=count
period=3600
 
[querycount2]
IDOLName=IDOL2
field=spellingquery
operation=count
period=3600
 
In this example, Statistics server collects information from two IDOL servers. The XML events have an <IDOLServerUsed> field that identifies the IDOL server. The Statistics server measures two nearly identical statistics, but querycount1 records only requests sent to the IDOL1 server, while querycount2 records only requests sent to the IDOL2 server.