Efficient Debugging with Log Browser
The Log Browser is a powerful tool designed to make debugging and troubleshooting more efficient and intuitive at the space level, offering detailed insights and greater control over your apps and workflows. It supports full-text search and filters, enabling you to quickly identify and resolve issues, saving valuable time and minimizing downtime. You can access the Log Browser by navigating to Spaces, selecting a specific space, and clicking on the Logs tab.
Filter Section
The Log Browser provides several filters to refine the number of log entries displayed in the table:
Filter by Keyword: Allows filtering log entries by a specific term.
Filter by App: Allows filtering by one or more apps within the current space.
Filter by Level: Enables filtering by specific log levels such as
trace
,debug
,info
,warn
,error
,fatal
,audit
andmetric
.Time Range: Allows filtering logs within a specified time range, such as “Last 30 minutes”.
Optimizing Your Search with Filters
Using filters like App and adjusting the Time Range can enhance performance by reducing the dataset, leading to faster search results.
Additional Options
Polling interval: Lets you set an automatic polling interval (in seconds) to refresh the Logs table and fetch the latest entries. The default option is "No polling."
Refresh button: Allows you to manually refresh the Logs table to display the most recent log entries.
Log Browser Table Columns
The Log Browser table includes the following columns:
Timestamp: Displays the date and time of the log entry. This column is sortable.
App: Shows the app’s ID and name associated with the log entry.
Level: Displays the severity level of the log entry.
Message: Shows the message body of the log entry, or if unavailable, the entire log content.
Example of Filtering Logs
Below is an example of the Log Browser table after filtering by a specific keyword and app.
Expandable Log Entries
After a flow is executed, its log entries are displayed in the table with expandable rows. You can expand a row by clicking the arrow icon on the right side of each entry.
Log context and data: Expanding a log entry reveals context information such as
Container
,App ID
,App Name
,Space ID
,Service Name
, andTimestamp
, as well as the actual log data (JSON format).