Discussion

Pegasystems Inc.
PL
Last activity: 29 Apr 2019 7:14 EDT
Adding mobile logs to Kibana
You can access logs from mobile device without end-user involvement by using the device log retrieval functionality. However, if you have multiple nodes in your environment, then finding logs may be troublesome.
Pega Cloud comes with Kibana out of the box, which is an external tool that allows you to view and filter logs in one place. Currently, there are several types of logs that are preconfigured in Kibana:
- prpc-application-logs
- prpc-security-event-logs
- prpc-security-logs
- ...
How to add 'mobile-logs' to Kibana
- Make sure that retrieve device logs feature was used at least once.
- Login to Kibana
- Go to the Settings > Indices > Configure index pattern
- Type mobile-logs-* as "Index name or pattern"
- Click "Create" button
Right now you can go back to Discover tab and select mobile-logs from a list.
Please note that there are several columns designed for logs from mobile devices:
- LogDateTime - specifies date and time when log has been created on device (UTC time)
- LogLevel - specifies log level (verbose, debug, info, warning, error)
- LogTag - specifies tag (usually it is name of class)
- LogMessage - specifies message
- LogStacktrace - contains entire stack trace if an error occurred
Also, you can find step-by-step instruction in a form of pictures in attachments.
Useful links