Setting Analytics Collector Properties Using WLST Setting Analytics Collector Properties Using Fusion Middleware Control

Managing the Analytics Service 13-11 connection, use setAnalyticsCollectorConnection. For command syntax and examples, see the section, createAnalyticsCollectorConnection and setAnalyticsCollectorConnection in the Oracle Fusion Middleware WebLogic Scripting Tool Command Reference. For information on how to run WLST commands, see Section 1.13.3.1, Running Oracle WebLogic Scripting Tool WLST Commands.

13.5.3 Disabling WebCenter Event Collection

If you do not want to collect events raised using OpenUsage APIs, you can stop event transmission temporarily or permanently. This section includes the following subsections: ■ Section 13.5.3.1, Disabling WebCenter Event Collection Using Fusion Middleware Control ■ Section 13.5.3.2, Disabling WebCenter Event Collection Using WLST

13.5.3.1 Disabling WebCenter Event Collection Using Fusion Middleware Control

To disable event collection for a WebCenter application: 1. Log in to Fusion Middleware Control and navigate to the home page for WebCenter Spaces or the WebCenter Portal application. For more information, see: ■ Section 6.2, Navigating to the Home Page for WebCenter Spaces ■ Section 6.3, Navigating to the Home Page for WebCenter Portal Applications 2. Open the Service Configuration page: ■ For WebCenter Spaces - From the WebCenter menu, choose Settings Service Configuration . ■ For WebCenter Portal applications - From the Application Deployment menu, choose WebCenter Service Configuration. 3. From the list of services on the WebCenter Service Configuration page, select Analytics and Activity Graph .

4. Select the connection in the table, and then click Edit.

5. Deselect Enable WebCenter Event Collection

Figure 13–5 . Note: To start using the new connection, ensure that isEnabled=1 and default=1, and then restart the managed server on which the WebCenter application is deployed. See, Starting and Stopping WebLogic Managed Servers Using the Command Line in the Oracle Fusion Middleware Administrators Guide. 13-12 Oracle Fusion Middleware Administrators Guide for Oracle WebCenter Figure 13–5 Disabling Analytics Event Collection 6. To effect this change you must restart the managed server on which the WebCenter application is deployed. For more information, see Section 8.2, Starting and Stopping Managed Servers for WebCenter Application Deployments.

13.5.3.2 Disabling WebCenter Event Collection Using WLST

To disable event collection using WLST, run the setAnalyticsCollectorConnection command with the isEnabled argument set to 0 false. For command syntax and examples, see the section, setAnalyticsCollectorConnection in the Oracle Fusion Middleware WebLogic Scripting Tool Command Reference. For information on how to run WLST commands, see Section 1.13.3.1, Running Oracle WebLogic Scripting Tool WLST Commands.

13.6 Validating Analytic Event Collection

You can check whether events reach the Analytics Collector by checking the trace log at: base_domain_nameserversWC_Utilitieslogsanalytics-collectorcollector.trc Event messages are similar to the following: [2010-09-16T07:13:56.906-07:00] [WC_Utilities] [TRACE] [] [SRC_METHOD: OnMessageReceived] Event = [[ EVENT_TYPE: {http:www.myorg.comvideoapp}VIDEOVIEWS VERSION: 3.0.XXXX AS_DIMENSION_USER.USERID: testuser01 VIDEO.RESOURCEID: video8736 VIDEO.TITLE: Project Kick Off VIDEO.LOOP: false QUALITY: 720 PROPERTY_VERSION: 3.0.XXXX

13.7 Viewing the Current WebCenter Analytic Event List

Use the Systems MBeans Browser in Fusion Middleware Control to see which events that an Analytics Collector is configured to collect. To display the current list of analytics events:

1. Log in to Fusion Middleware Control and navigate to the home page for

WebCenter Spaces or WebCenter Portal application. For more information, see: Managing the Analytics Service 13-13 ■ Section 6.2, Navigating to the Home Page for WebCenter Spaces ■ Section 6.3, Navigating to the Home Page for WebCenter Portal Applications 2. Open the System MBean Browser: ■ For WebCenter Spaces - From the WebCenter menu, choose System MBean Browser . ■ For WebCenter Portal applications - From the Application Deployment menu, choose System MBean Browser. 3. Navigate to: Application Defined MBeans oracle.webcenter.analytics Server: WC_Utilities Application: analytics-collector CollectorServices Services Alternatively, search for CollectorServices or filter the System MBean Browser tree using the MBean pattern: oracle.webcenter.analytics:

4. Select the Operations tab.

Figure 13–6 System MBeans Browser - Register Analytics Events

5. Click listRegisteredEventTypes.

6. Click Invoke.

Alternatively, use the WLST command listAnalyticsEventTypes. For command syntax and examples, see the section, listAnalyticsEventTypes in the Oracle Fusion Middleware WebLogic Scripting Tool Command Reference.

13.8 Purging Analytics Data

For more information, see Purging Oracle WebCenter Analytics Data in the Oracle Fusion Middleware Administrators Guide.

13.9 Partitioning Analytics Data

For more information, see Partitioning Oracle WebCenter Analytics Data in the Oracle Fusion Middleware Administrators Guide.