The easiest way to build a data collection server.
The easiest way to build a data collection server is using the apache’s access log. The access log can record all requests those are requested by clients. So the clients can upload its data to server by just calling a static page. At server side, all needs are a apache server and an empty page. Thus, the load for the server will be lowest.
127.0.0.1 - - [27/Jan/2010:17:48:24 +0800] "GET /abc/api.xml?msg=%22test%22 HTTP/1.1" 302 225
After the data has been collected, you can use various tools to analyze the data you got. You can write a script to put your data into a database or convert the log files to another format which your analytic tools can recognize.
There is a use full toll for you to analyze the log called loghetti. It allows you count your data.
Powered by Qumana
