Searching SmartCloud Analytics logs

You can use SmartCloud Analytics Embedded to search for your solution, and filter your queries by using Lucene's query syntax and strings. You must first configure your solution to all of the SmartCloud Analytics members in your server topology. The SmartCloud Analytics log consolidates all of the indexes from all of the members.

About this task

The SmartCloud Analytics console provides a search entry field to see all the events you streamed into the Insight Server. Analytic sensors are pre-configured to monitor Decision Server Insights event types and logs.
Tip: Refer to the Apache Lucene query syntax to learn more about how to format your search strings.

Procedure

  1. Open the SmartCloud Analytics console by entering the following URL: http://server_name:port/x2020/x2020.html.

    Where server_name is the name of the host computer and port is the port number for your Insight Server. The default port number for WebSphere® Application Server is 9080, but it can be different depending on your installation.

  2. Enter *, and click the search icon (Search icon) to query all the indexes in a time period.

    The time period for the specified query is set in the Graphs panel. The options are 1h, 24h, 7d, 1m, and 1y. You can also specify your own date range by using the From and To fields, and then clicking the Apply Custom Date Range icon Custom date icon.

    The following figure shows the Graphs panel with the date picker dialog open for the From field:

    The panel shows the number of event types that are recorded within the specified time frame, and gives a different color to each different event type.

  3. In the search field, you can scope your queries to an event field or by using a combination of field name and strings. For example, enter level:W* to query all the log events that have a severity of type WARNING.
  4. Copy and paste field values from the results page into the search entry to filter the scope of your queries.

Results

The log records have the following fields:

  • trace: The exception that is raised by this log event.
  • level: The name of the log severity, if any. The severity of the log message can be one of the following types: SEVERE, ERROR, WARNING, INFO.
  • datetime: The recorded time of this log event.
  • source: The part of the solution or system that recorded this log event; usually the X2020LogHandler.
  • message: The text of this log event message.
  • stage: The point of processing at which this log event is recorded.