View
7
Download
0
Category
Preview:
Citation preview
UUUUUUssssssininininining pog pog pog pog pog porrrrrrttttttaaaaaallllll s s s s s sitititititite ae ae ae ae ae annnnnnalalalalalalyyyyyysissississississis w w w w w with the JSith the JSith the JSith the JSith the JSith the JSRRRRRR 286 W 286 W 286 W 286 W 286 W 286 Web Coeb Coeb Coeb Coeb Coeb ConnnnnnttttttententententententVVVVVViiiiiieeeeeewwwwwweeeeeerrrrrr PPPPPPoooooorrrrrrttttttlllllleeeeeetttttt
The configuration steps to enable WebSphere Portal Site Analyzer requires a simplechange to a properties file. This will cause log information to be added to the sa.log files.The site analysis log uses the NCSA Combined log format so you will need a tool thatunderstands this format in order to analyze the collected data. In this exercise we willinstall the open source tool AWStats for our analysis. This also requires that ActivePerlto be installed to use this tool.
EEEEEEnanananananabbbbbblllllle We We We We We WebebebebebebSpherSpherSpherSpherSpherSphere Poe Poe Poe Poe Poe Portartartartartartallllll Site A Site A Site A Site A Site A Site Ananananananallllllyyyyyyzzzzzzer er er er er er
1. Edit wp_profile\PortalServer\config\SiteAnalyzerLogService.properties and add/change: -
SiteAnalyzerFileHandler.fileName=logs/$APPSERVER_NAME/sa.logSiteAnalyzerPageLogger.isLogging=trueSiteAnalyzerPortletLogger.isLogging=trueSiteAnalyzerSessionLogger.isLogging=trueSiteAnalyzerJSRPortletLogger.isLogging=true
2. Push the updated properties into the portal configuration1) Open a command prompt2) type “cd \ibm\websphere\wp_profile\configengine”3) type “ConfigEngine.bat update-properties”
3. Restart the portal.
4. Ensure that the administrative server is Started.
5. Confirm the Properties have been added by by logging into the WebSphereApplication Server administration console and then navigating to Resource > Resourceenvironment > Resource environment providers
UUUUUUssssssininininining pog pog pog pog pog porrrrrrttttttaaaaaallllll s s s s s sitititititite ae ae ae ae ae annnnnnalalalalalalyyyyyysissississississis w w w w w with the JSith the JSith the JSith the JSith the JSith the JSRRRRRR 286 W 286 W 286 W 286 W 286 W 286 Web Coeb Coeb Coeb Coeb Coeb ConnnnnnttttttententententententVVVVVViiiiiieeeeeewwwwwweeeeeerrrrrr PPPPPPoooooorrrrrrttttttlllllleeeeeetttttt
6. Open WP SiteAnalyzerLogService and click custom properties
7. You will see the variables that were set in the SiteAnalyzerLogService.properties
UUUUUUssssssininininining pog pog pog pog pog porrrrrrttttttaaaaaallllll s s s s s sitititititite ae ae ae ae ae annnnnnalalalalalalyyyyyysissississississis w w w w w with the JSith the JSith the JSith the JSith the JSith the JSRRRRRR 286 W 286 W 286 W 286 W 286 W 286 Web Coeb Coeb Coeb Coeb Coeb ConnnnnnttttttententententententVVVVVViiiiiieeeeeewwwwwweeeeeerrrrrr PPPPPPoooooorrrrrrttttttlllllleeeeeetttttt
IIIIIInstanstanstanstanstanstallllllllllll Ac Ac Ac Ac Ac ActivtivtivtivtivtivePerePerePerePerePerePerllllll
1. Download Perl http://www.activestate.com/activeperl/2. Install Perl by executing the downloaded fil3. Click Next
UUUUUUssssssininininining pog pog pog pog pog porrrrrrttttttaaaaaallllll s s s s s sitititititite ae ae ae ae ae annnnnnalalalalalalyyyyyysissississississis w w w w w with the JSith the JSith the JSith the JSith the JSith the JSRRRRRR 286 W 286 W 286 W 286 W 286 W 286 Web Coeb Coeb Coeb Coeb Coeb ConnnnnnttttttententententententVVVVVViiiiiieeeeeewwwwwweeeeeerrrrrr PPPPPPoooooorrrrrrttttttlllllleeeeeetttttt
4. Accept the license agreement
5. Click Next
UUUUUUssssssininininining pog pog pog pog pog porrrrrrttttttaaaaaallllll s s s s s sitititititite ae ae ae ae ae annnnnnalalalalalalyyyyyysissississississis w w w w w with the JSith the JSith the JSith the JSith the JSith the JSRRRRRR 286 W 286 W 286 W 286 W 286 W 286 Web Coeb Coeb Coeb Coeb Coeb ConnnnnnttttttententententententVVVVVViiiiiieeeeeewwwwwweeeeeerrrrrr PPPPPPoooooorrrrrrttttttlllllleeeeeetttttt
6. Click Next
7. Click Install
8. Click Finish
UUUUUUssssssininininining pog pog pog pog pog porrrrrrttttttaaaaaallllll s s s s s sitititititite ae ae ae ae ae annnnnnalalalalalalyyyyyysissississississis w w w w w with the JSith the JSith the JSith the JSith the JSith the JSRRRRRR 286 W 286 W 286 W 286 W 286 W 286 Web Coeb Coeb Coeb Coeb Coeb ConnnnnnttttttententententententVVVVVViiiiiieeeeeewwwwwweeeeeerrrrrr PPPPPPoooooorrrrrrttttttlllllleeeeeetttttt
IIIIIInstanstanstanstanstanstallllllllllll AW AW AW AW AW AWSSSSSStatatatatatatstststststs
1. Download AWStats. http://awstats.sourceforge.net2. Unzip the package into a directory. C:\awstats3. Open a command prompt4. Type “cd /awstats/tools”5. Type “perl awstats_configure.pl”
UUUUUUssssssininininining pog pog pog pog pog porrrrrrttttttaaaaaallllll s s s s s sitititititite ae ae ae ae ae annnnnnalalalalalalyyyyyysissississississis w w w w w with the JSith the JSith the JSith the JSith the JSith the JSRRRRRR 286 W 286 W 286 W 286 W 286 W 286 Web Coeb Coeb Coeb Coeb Coeb ConnnnnnttttttententententententVVVVVViiiiiieeeeeewwwwwweeeeeerrrrrr PPPPPPoooooorrrrrrttttttlllllleeeeeetttttt
6. Type “none”
7. Type “y”
8. Type “localhost'
UUUUUUssssssininininining pog pog pog pog pog porrrrrrttttttaaaaaallllll s s s s s sitititititite ae ae ae ae ae annnnnnalalalalalalyyyyyysissississississis w w w w w with the JSith the JSith the JSith the JSith the JSith the JSRRRRRR 286 W 286 W 286 W 286 W 286 W 286 Web Coeb Coeb Coeb Coeb Coeb ConnnnnnttttttententententententVVVVVViiiiiieeeeeewwwwwweeeeeerrrrrr PPPPPPoooooorrrrrrttttttlllllleeeeeetttttt
9. Press ENTER to continue
10. Press Enter to finish
11. Open the C:\awstats\wwwroot\cgi-bin\awstats.localhost.conf file in notepad12. Change the following configuration statements:
LogFile="C:\awstats\tools/logresolvemerge.pl C:\IBM\WebSphere\wp_profile\logs\WebSphere_Portal\sa*.log |"LogFormat=1LogSeparator=" "SiteDomain="localhost"
UUUUUUssssssininininining pog pog pog pog pog porrrrrrttttttaaaaaallllll s s s s s sitititititite ae ae ae ae ae annnnnnalalalalalalyyyyyysissississississis w w w w w with the JSith the JSith the JSith the JSith the JSith the JSRRRRRR 286 W 286 W 286 W 286 W 286 W 286 Web Coeb Coeb Coeb Coeb Coeb ConnnnnnttttttententententententVVVVVViiiiiieeeeeewwwwwweeeeeerrrrrr PPPPPPoooooorrrrrrttttttlllllleeeeeetttttt
DNSLookup=1AllowToUpdateStatsFromBrowser=0MaxLengthOfShownURL=256
By setting the logfile to grab all sa*.log files it will include rolled over log files when thereports are run
13.Start WebSphere Portal14.Login to WebSphere Portal and navigate to pages containing WCM content using the
JSR286 web content viewer portlet15.Open a command prompt and type “cd /awstats/wwwroot/cgi-bin”16.Create the initial statistics database by typing the following:
“perl awstats.pl -config=localhost -update”
17.create a reports directory on the c drive18.type “cd /awstats/tools”19. type “perl awstats_buildstaticpages.pl -awstatsprog=C:\awstats\wwwroot\cgi-bin
\awstats.pl -config=localhost -output -dir=c:\reports”
This will generate all reports and update the statistics. This will place the HTML reportsin the c:\reports directory
UUUUUUssssssininininining pog pog pog pog pog porrrrrrttttttaaaaaallllll s s s s s sitititititite ae ae ae ae ae annnnnnalalalalalalyyyyyysissississississis w w w w w with the JSith the JSith the JSith the JSith the JSith the JSRRRRRR 286 W 286 W 286 W 286 W 286 W 286 Web Coeb Coeb Coeb Coeb Coeb ConnnnnnttttttententententententVVVVVViiiiiieeeeeewwwwwweeeeeerrrrrr PPPPPPoooooorrrrrrttttttlllllleeeeeetttttt
20.Open the c:\reports\awstats.localhost.html to see the report
21.Click on navigation full list
The new JSR 286 webcontent portlet log will display Site, Site Area and Content
UUUUUUssssssininininining pog pog pog pog pog porrrrrrttttttaaaaaallllll s s s s s sitititititite ae ae ae ae ae annnnnnalalalalalalyyyyyysissississississis w w w w w with the JSith the JSith the JSith the JSith the JSith the JSRRRRRR 286 W 286 W 286 W 286 W 286 W 286 Web Coeb Coeb Coeb Coeb Coeb ConnnnnnttttttententententententVVVVVViiiiiieeeeeewwwwwweeeeeerrrrrr PPPPPPoooooorrrrrrttttttlllllleeeeeetttttt
This corresponds to the WCM Content by Site Area navigation view in the AuthoringPortlet.
UUUUUUssssssininininining pog pog pog pog pog porrrrrrttttttaaaaaallllll s s s s s sitititititite ae ae ae ae ae annnnnnalalalalalalyyyyyysissississississis w w w w w with the JSith the JSith the JSith the JSith the JSith the JSRRRRRR 286 W 286 W 286 W 286 W 286 W 286 Web Coeb Coeb Coeb Coeb Coeb ConnnnnnttttttententententententVVVVVViiiiiieeeeeewwwwwweeeeeerrrrrr PPPPPPoooooorrrrrrttttttlllllleeeeeetttttt
OtherOtherOtherOtherOtherOther W W W W W Webebebebebeb S S S S S Statatatatatatitititititisticsticsticsticsticstic A A A A A AnanananananallllllyyyyyyzzzzzzersersersersersersIn this exercise we used Advanced Web Statistics to analyze the site analyzer log files.There are several other products that can be leveraged to analyze the statistics. A few ofthem are mentioned below.
WebTrends http://www.webtrendslive.com/AboutWebTrends/NewsRoom/NewsRoomArchive/2009/WebTrendsAndIBMPartnerToDeliverAnalyticsDataThroughWebSpherePortalSoftware.aspxCoremetrics http://www.reuters.com/article/pressRelease/idUS143320+27-Feb-2009+MW20090227Omniture http://www.omniture.com/press/682
Recommended