AI applications generate logs across agents, tools, model servers, and infrastructure resources. Finding relevant messages among routine events can make troubleshooting difficult.

AI Logs groups similar log messages into log templates and prioritizes templates that may indicate a problem. Instead of reviewing repeated messages individually, you can inspect a pattern, identify its source, and open the surrounding logs for more context.

Use AI Logs to:

  • Identify potentially significant log patterns for an application.
  • See how often a pattern occurs and when it last occurred.
  • Find the resource that generated the messages.
  • Investigate events before and after a failure in Logs Explorer.

AI Agents tab showing agent health, performance, model associations, alerts, and tool activity

Before you begin

Make sure that:

  • Log monitoring is enabled for your tenant.
  • You have permission to View_Logs.
  • You know which AI environment and application to investigate.
  • You have identified an approximate time range for the reported issue.

When to use AI Logs

Use AI Logs when:

  • The Critical Events card shows an AI Logs count greater than zero.
  • Users report incorrect, incomplete, or slow responses, even though performance metrics appear normal.
  • A trace, evaluation, or alert identifies a potential issue and you need supporting log details.

Investigate an issue

1. Select the application and time range

  1. Go to Infrastructure → AI Observability → AI Overview.
  2. Select the AI environment that runs the application.
  3. Choose a time range that includes the reported issue.
  4. In AI Evaluations By App, select the application name.

The selected time range determines which log occurrences are included in the investigation.

2. Open AI Logs

On the application page, either:

  • Select the AI Logs tab, or
  • Select the AI Logs count in the Critical Events card.

The list displays critical log templates associated with the application’s pods and services.

3. Review the log templates

Start with the highest-ranked templates, then compare their messages and occurrence times with the reported symptoms.

ColumnDescription
Crit. Prob.The critical probability score, expressed as a percentage. Use it to prioritize templates for investigation.
CountThe number of times the template occurred on the resource during the selected time range.
TimestampThe most recent occurrence of the template within the selected time range.
Example EventA sample log message that matches the template. The sample may come from an earlier occurrence, so its embedded timestamp can differ from the Timestamp column.
CategoryThe reason the template was flagged. For example, keyword indicates that the message contains a recognized severity keyword.
TagsTopics detected in the message, such as error, http, or timeout. +N indicates additional tags, which you can view by opening the template details.

Understand critical probability

Critical probability helps identify log patterns that warrant attention. The score considers factors such as severity keywords and how unusual a pattern is for the resource.

Templates with scores above 50% are listed, with the highest scores first. A template with fewer occurrences can rank above a frequent template if the pattern is more unusual.

Use the score together with the message, occurrence count, timestamp, and other telemetry. Do not treat it as confirmation of an application’s failure or an issue’s impact.

4. Inspect the template details

Select a template row to open its details panel.

The panel provides the following information:

DetailDescription
Log templateThe shared structure of matching messages. Variable values are replaced with placeholders.
Critical probability, count, and categoryThe prioritization score, occurrence count, and classification shown in the list.
Resource Name and Resource UUIDThe resource that generated the messages and its unique identifier.
Application and ServiceThe associated application and service, when reported.
TagsThe complete set of detected tags.
Example EventThe full text of a sample message matching the template.
View Related LogsOpens Logs Explorer for the source resource around the latest occurrence.

Template placeholders include:

  • <TS> — a timestamp.
  • <NUM> — a number.
  • <*> — a variable value.

These placeholders allow messages with different timestamps, numbers, or other values to be grouped into the same pattern.

In the details panel, select View Related Logs.

Logs Explorer opens with:

  • A resource filter: The Resource UUID identifies the resource that generated the message.
  • A focused time range: One minute before to one minute after the template’s latest occurrence.
  • Logs across severity levels: Informational messages are included alongside errors to help you understand the surrounding activity.

There are two View Related Logs actions:

LocationScope
Above the AI Logs listOpens logs for the AI environment across the full selected time range.
Inside a template's details panelOpens logs for the selected resource around the latest occurrence.

Use the template-level action for a focused investigation. Use the list-level action when you need broader context.

6. Review the event sequence

In Logs Explorer, locate the relevant error and read the messages before and after it.

Look for:

  • The operation the application was performing before the failure.
  • The agent, tool, or downstream service involved.
  • Timeouts, connection failures, or other error details.
  • Retries, fallback behavior, or subsequent processing.
  • Evidence that the workflow continued without the expected result.

If necessary, adjust the time range or filters to investigate further. Correlate the findings with available traces, metrics, and evaluations before deciding on a corrective action.

Example: Investigate missing activity suggestions

This example illustrates how AI Logs can help investigate an incomplete application response.

Reported issue

A travel-planning application uses a supervisor agent to coordinate destination research, experience curation, and travel-plan synthesis.

Users report that generated plans no longer include activity suggestions. The application still responds, and its performance and error-rate indicators appear normal.

Find the relevant template

In the application’s AI Logs tab, a template contains the messages:

  • Experience curation microservice call failed
  • Read timed out

In this example, the template has:

DetailExample value
Critical probability68.0%
Count34 occurrences
Categorykeyword

The repeated timeout is relevant to the reported missing suggestions, so it warrants further investigation.

Inspect the surrounding events

Open the template details, then select View Related Logs.

The displayed sequence shows:

StageObserved behavior
Before the errorThe supervisor completes destination research and delegates work to the experience-curation service.
At the errorThe service call reports Read timed out (read timeout=0.001).
After the errorThe supervisor continues to travel-plan synthesis without a retry visible in the displayed sequence.

Interpret the findings

The logged timeout value is 0.001 seconds, or 1 millisecond. This short timeout is a likely contributor to the observed failure and should be checked against the service’s expected response time.

The subsequent processing is consistent with the reported incomplete plans: the workflow continues after the experience-curation call fails. However, the displayed sequence alone does not establish that every request is affected.

Validate the corrective action

Review the timeout and failure-handling configuration with the application owner. After making an appropriate change:

  1. Run representative travel-planning requests.
  2. Confirm that activity suggestions appear in the generated plans.
  3. Review fresh logs for recurring timeouts.
  4. Use traces, metrics, and evaluations, where available, to confirm the expected behavior.

Do not rely only on the template disappearing from AI Logs to confirm resolution.

Troubleshooting AI logs

For help resolving issues related to AI Logs, see Troubleshooting guide.