Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

In order to effectively manage a web server, it is necessary to get feedback about the activity and performance of the server as well as any problems that may be occurring. The HTTPD Logs can provide everything that happens on your server, from the initial request, through the URL mapping process, to the final resolution of the connection, including any errors that may have occurred in the process.  

Every time your server receives a request, it makes an entry to one or more log files. These log files are useful for a variety of purposes, from statistical analysis of your visitors to forensic analysis of an attack on your server. The HTTPD Logs sample is intended to show the capability of WSO2 BAM which can analyze the raw httpd logs and produce useful result. This sample demonstrate how you can use your logs to analyse the web traffic come to your server from different regions. It calculate the region from the ip address in logs and visualize it in gadgets.

...

Note that you can give custom values for parameters for Data receiver port numberURL, user name and password. Default values of them are as follows.

ParameterDefault ValuePort
7611URLtcp://localhost:7611
User Nameadmin
Passwordadmin

Now lets see how new values can be given as parameters

ParameterNew ValuePort
7612URLtcp://localhost:7612
User Nameuser
Passwordpass123

Command with new values : ant ant -Dport=7612 Durl=tcp://localhost:7612 -Dusername=user -Dpassword=pass123

...