Introducing IBM MobileFirst Platform Operational Analytics
MobileFirst Operational Analytics collects data about applications, adapters, devices, and logs to give a high-level view of the client interaction with the IBM MobileFirst Platform Server, and to enable problem detection.
In IBM MobileFirst Platform Foundation V6.3, MobileFirst Operational Analytics is delivered as a WAR file that can be deployed to the following supported application servers:
- WebSphere Application Server
In MobileFirst Studio, the WAR file is installed and available by default in the embedded Liberty server.
Viewing the Analytics Dashboard - Configurations
wl.analytics.url property must be set to access the analytics dashboard. In MobileFirst Studio, this property is automatically set.
After the property is set, the Analytics Dashboard link appears in the MobileFirst Operations Console.
Click the Analytics Dashboard link to open up the dashboard in a new window.
Five different types of analytics events are captured by the MobileFirst Operational Analytics. The next sections describe how these events are captured.
- Client initializations with the server
- Adapter calls
- Push notifications
- Server Events
- Server stack traces
- Debug logs
- Custom Events
- Network latency information
Capturing data - Application Activities
When an application activity occurs, the event is captured automatically and forwarded to the MobileFirst Operational Analytics.
- The following API call results in a session hit that is visualized on the MobileFirst Operational Analytics:
- The following API call results in an adapter hit that is visualized on the MobileFirst Operational Analytics:
Capturing data - Notification Activities
When a push notification occurs, the event is captured automatically and forwarded to the MobileFirst Operational Analytics.
Capturing data - Server Logs
The log data that is generated by the MobileFirst Server is automatically forwarded to the MobileFirst Operational Analytics where the data can be searched and downloaded.
To disable this behavior, the
wl.analytics.logs.forward property must be set to
Capturing data - Client Logs
A MobileFirst application can be instrumented with client logs to record client debugging information and events.
The following APIs are available to create client logs that are then forwarded to the MobileFirst Operational Analytics where they can be searched and downloaded.
Client-side logs are captured based on the logging level that is set on the client. If you want to create analytics logs that are always captured regardless of the logging level, you can use the
Logs that are captured by the client-side logging APIs and the
WL.Analytics APIs are sent to the server automatically upon a successful server connection or a successful adapter call.