Appendixes > Record Statistics with Statistics Server > Sample Files > Sample Configuration File

Sample Configuration File
[license]
 
[service]
SERVICEPORT=19873
SERVICECONTROLCLIENTS=127.0.0.1
SERVICESTATUSCLIENTS=127.0.0.1
 
[server]
EventClients=*.*.*.*
Port=19870
Threads=100
EventPort=19871
EventThreads=8
 
[statistics]
0=test1
1=test2
2=test3
3=querycount
4=topterm
5=avgdurationquery
 
[test1]
Operation=count
Field=numhits
Period=60
NEqualStat=numhits,0
 
[test2]
Operation=topn,100
Field=spellingterms
Period=86400
NRangeStat=numhits,10,20,duration,0,1000
 
[test3]
Operation=topn,10
Field=spellingterms
Period=60
ARangeStat=term,aardvark,monkey
 
[querycount]
Operation=count
Field=queryinfo/url
Period=5
 
[topterm]
Operation=topn,100
Field=queryinfo/terms/term
Period=5
 
[avgdurationquery]
operation=average
field=duration
aequalstat=action,query
period=5
 
[logging]
logecho=true
logtime=true
loghistorysize=50
maxlogsizekbs=10240
0=APP_LOG_STREAM
1=EVENT_LOG_STREAM
 
[app_log_stream]
logfile=application.log
logtypecsvs=application
loglevel=normal
oldlogfileaction=datestamp
 
[event_log_stream]
logfile=event.log
logtypecsvs=event
loglevel=full
oldlogfileaction=datestamp