Record Statistics from Multiple Components
If you are working with multiple Knowledge Discovery components, you might want to collect statistics from some or all of them.
To configure Statistics Server for multiple components
- Create an
[IDOLStatistics]
section in the Statistics Server configuration file. - In the
[IDOLStatistics]
section, set the Number and EventField parameters. The Number parameter specifies the number of servers to collect statistics from. The EventField parameter specifies the name of the field, in the event XML, that identifies the source of the event. - In the
[Statistics]
section, set the IDOLName parameter for each statistic. - Save the configuration file.
For example:
[IDOLStatistics] Number=2 EventField=idolname [Statistics] 0=querycount1 1=querycount2 [querycount1] IDOLName=CONTENT1 Field=spellingquery Operation=count Period=3600 [querycount2] IDOLName=CONTENT2 Field=spellingquery Operation=count Period=3600
In this example, Statistics Server collects information from two Query Manipulation Servers. The XML events must have an <idolname>
field that identifies the Query Manipulation Server. The Statistics Server measures two nearly identical statistics, but querycount1
records only requests sent to the CONTENT1 server, and querycount2
records only requests sent to the CONTENT2 server.