All Products
Search
Document Center

Mobile Platform as a Service:Query history logs

Last Updated:Jul 24, 2023

Based on your business requirements, you can query the logs that the client uploaded. The logs that you can query include behavior logs, automation logs, exception logs and performance logs. When you query the logs, you can quickly locate the logs by selecting a keyword type and applying advanced filter conditions, and then download the query result.

Prerequisites

Ensure that you have access to query the logs. For access permission issues, please contact your system administrator.

About this task

You can query any logs mentioned above by keywords.

  • The query adopts full text indexing and word segmentation, so you can enter the following keywords to query the logs:

    • Letters and numbers. For example, the full text hello Peter how are you is segmented into hello, Peter, how, are, you. Enter any of the preceding words and you can get the query result that includes the keyword in the logs.

    • URLs that do not contain path. For example, you can search the URL of www.google.com. However, if you enter www.google.com.hk/webhp, /webhp cannot be indexed, so the query of /webhp doesn’t work.

  • Support searching multiple keywords at a time, with keywords separated by space (press Space key or Tab key).

Note
  • You can query the original logs in the last 32 days (excluding diagnosis logs) and diagnosis logs in the last 7 days. However, the time range cannot be longer than 48 hours.

  • As for the analysis results, the real-time data will remain in server for 90 days, and the offline data will remain for 360 days.

  • For the client logs not uploaded, 1/4 of the backlog will be deleted to free up storage space when it reaches the upper limit. The limit is as follows:

    • In the Android client, the total volume of tracking logs exceeds 15 MB, or the total volume of applog exceeds 50 MB.

    • In the iOS client, the total volume of tracking logs or applog exceeds 30 MB.

Supports querying the original logs of the last 32 days (excluding diagnostic logs) and the diagnostic logs of the last 7 days, but the time span of each query cannot exceed 2 days.

Procedure

Log in to the mPaaS console and complete the following steps:

  1. From the navigation bar on the left, click Mobile Analysis Service > Log management > Query history logs.

  2. Select the log type and time order of log query, enter the keyword, and then click Search. By default, the logs only in the last 12 hours are searched. Under Log list, check the log query result.

    • Log query supports ascending and descending order.

    • To conduct quick search, click the keyword that you entered previously in the Search history section.

  3. To specify the query time, click Time condition to expand the query conditions, set the start and end time of query, and select the time range and the number of logs displayed per page.

    Note

    If the time range conflicts with the start time and the end time, the start and the end time is automatically adjusted based on the time range.

  4. To add an advanced filter rule, click the plus sign (+) on the right of the keyword input box.

  5. In the Condition section, select the rule type and enter the corresponding content:

    • The supported rule types are Seed, Platform, and Version.

    • You can add multiple advanced filter rules that work together. To remove a rule, click the delete button (-) on the right of the rule.

  6. Under Log list, check the query results, where the keywords are highlighted. By default, all logs are collapsed:

    • Click the query result of a single log to expand and check the full content.

    • Select Show all to expand the query results of all the logs.

  7. Click the download button (download) to download the query result that is saved in an .xlsx file.