Skip to main content
Skip table of contents

Working With the Log Analyzer

The Log Analyzer uses OpenSearch as data storage and OpenSearch Dashboards to analyze the service logs. OpenSearch Dashboards is an open source analytics and visualization tool. You can search, view, and interact with data stored in OpenSearch indices. You can perform advanced data analysis and visualize your data in a variety of charts, tables, and maps in customized dashboards.

Retention period for logs in Log Analyzer is 30 days.

In the log analyzer, you have two options:

grafik-20250206-074153.png
grafik-20250206-074213.png

You can also access both options via the main menu:

grafik-20250206-075027.png

Refer to Using Dashboards for details on dashboard usage and to Log Analyzer Indices for more infotmation about indices.

Discover: Searching Your Data

To inspect and search the log data of your services, open the main menu on the start page and select Discover. Option Discover allows you:

  • to select data for exploration.

  • to set a time range for the data.

  • to search your data with DQL.

  • to filter the results.

  • to explore the details of your data.

  • to view individual documents.

  • to create tables that summarize the contents of the data.

Refer to Inspecting the Logs: Tips & Tricks for more information about the available search languages DQL and Lucene.

Overview on the Discover page:

grafik-20250206-075532.png

(1)

Search Query:
Enter your search query here. Visit Inspecting the Logs: Tips & Tricks or the official OpenSearch documentation to get detailed information about the Query DSL.

(2)

Time Range:
Click here to set a time range for the data you want to inspect.

(3)

Sidebar:
Use the sidebar to select your index pattern and to access the list of available fields.

(4)

Time Histogramm:
Shows the time range of the displayed data.
To view the count of documents for a given time, drag the mouse over the histogram.

(5)

Documents Table:
All documents/data available for the set time range are displayed here. You can customize the display and adapt it to your needs.

Displaying Search Results

If you use DQL, your search term is applied to the field(s) set as the default field(s) on the index, search term hits are highlighted:

grafik-20250224-082734.png

If no default field is set, DQL searches all fields.

The set default fields are displayed in the left sidebar as Selected fields. The fields are displayed as columns in the content area on the right:

grafik-20250224-082944.png

If you want to add a field, hover over a field name in section Available fields and click the appearing Plus option:

grafik-20250224-083000.png

Hover over a field name in section Selected fields and click the appearing X option to remove a field:

grafik-20250224-083020.png

Expand a document to show the available settings:

grafik-20250206-075636.png

To add a setting to the table display, click on its menu item Toggle column in table:

toggle_column.png

To inspect logs of Scheer PAS Node.js services, you can for example select the following settings to display:

  • time (displayed by default)

  • service (= name of the service)

  • level (= log level)

  • message (= log message)

  • context.request.uuid (= UUID of the request)

  • context.user.loginId (= login name of the user)

grafik-20250206-075840.png

Once you have created a query, you are also able to save it for further use, for example in a dashboard.

Expert Tipp

To inspect the logs of a specific service, open the Log Analyzer from within the service details in the PAS Administration.

Docker Setup:

In the service details, open section Logs and use option Open Log Analyzer to inspect logs.
The Log Analyzer will open, showing all logs of this specific service.
Refer to Showing Docker Container Logs and Docker: Showing Logs of a Containerized xUML Service for more details.

Kubernetes Setup:

On a Kubernetes system, section Logs in the service details is divided in two parts: Service Logs and Transaction Logs.
In both parts you can find a button to open the Log Analyzer:

  • Open Service Logs: Shows the logs filtered by service name and log channel Error.

  • Open Transaction Logs: Shows the logs filtered by service name and log channel Access.

Refer to Showing Workload Logs and Kubernetes: Showing Logs of a Containerized xUML Service for more details.

Related Documentation:

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.