Additional Blogs by SAP
cancel
Showing results for 
Search instead for 
Did you mean: 
0 Kudos
h5. What is Enterprise Portal Usage Reporting?   When preparing the GoLive of a portal project you might be asked “How can we find out who is using the content that we provide in the portal?”. To answer this question the SAP NetWeaver Portal provides two solutions: The Portal Activity Reporting and the Activity Data Collector.  +Portal Activity Reporting+  ** Provides basic aggregated data ** Runs out of the box ** Reports within EP showing the predefined, aggregated data  +Activity Data Collector+  0.1. Available in NW04 (portal only) and NW 7.0 (portal and KM) 0.2. Provides detailed data tailored to your needs 0.3. Reports EP external  In the following let's focus on the Activity Data Collector. For further information regarding the Portal Activity Reporting please have a look here  (SP15: New and Improved Portal Activity Report).   h5. What is the Activity Data Collector (ADC)?  The ADC provides data on portal requests and stores them to flat files in a filesystem.  The collected data can include items such as: 0.1.  Requested iView 0.2.  Processing time 0.3.  Browser type 0.4.  Requested headers 0.5.  etc. The collector creates a set of files that contain a line for each request. You can take these files to create reports about portal activity using Business Intelligence, Microsoft Excel or other analytics tools. ADC can collect data for the portal platform itself and also for KM. ADC for portal platform is released for NW 7.0 SP14 / NW04 SP 21 (please check note 1178889) while ADC for KM is released for NW 7.0 SP14 (no plans for NW04).  h5. Data Flow of the ADC  After activation of the ADC the data is collected in the memory buffer of every node before it is flushed to flat files.  0.1. EP server collects and keeps usage statistics data in memory buffer 0.2. Buffers are flushed into flat files when certain size/time is reached 0.3. Flat files may need custom processing depending on requirements (e.g. batch script to concatenate files from different server nodes) 0.4. Results can be analyzed with any tool (e.g. SAP BI, MS Excel, MS Access, etc.) h5. How to configure the portal data collection  To activate the ADC to collect data for the portal usage the following steps have to be done: 0.1. Navigate to System Administration >> System Configuration >> Service Configuration. 0.2. In the Portal Catalog, navigate to the portal service at Applications >> com.sap.portal.activitydatacollector >> Services >> DataCollectionHook. 0.3.  Right-click +DataCollectionHook+, and select “Configure”.     The screen above shows the configuration options for the ADC. Details of the property description can be found here  (http://help.sap.com/saphelp_nw70/helpdata/DE/46/e4dd28dc8e72dde10000000a114a6b/frameset.htm).      Some useful information: 0.1. Files are closed either when the maximum file size is reached or at the time configured in “Hour(GMT) in the day to close all files” 0.2. For test purposes you should enter a very small “Max Buffer Size (KB)” to force the ADC to flush data to the files pretty soon after a few clicks in the portal. 0.3. It is not necessary to restart the server after changing the configuration. Just restart the service (in the Portal Catalog, navigate to the portal service at Applications >> com.sap.portal.activitydatacollector, right click on the item and choose “Administrate”. In the upcoming screen choose “Restart”). Restart is also necessary after initially activating the service! h5. How to configure the KM data collection  To activate the ADC to collect data for the KM usage it can be turned on in the KM system admin area:  +System Administration >>+ +System Configuration+ >> +Knowledge Management+ >> +Content Management+ >> +Global Services+ >> (+Show Advanced Options+) >> +Activity Reporting Service+   
7 Comments