Skip to main content

LLM Prompt Log

Home > Select Project > Log > Prompt Log

Prompt Log is a menu for viewing and analyzing detailed logs of LLM API calls. You can check inputs (prompts), outputs (responses), token usage, costs, and performance metrics for each individual call. Use this menu to drill down and identify root causes after spotting anomalies in token trends or cost analysis.

Note

This menu requires Log Read permission. Without the permission, the menu is not accessible.

Prompt Log

Screen Layout

Prompt Log consists of a three-panel layout: top option bar, left filter panel, and right main area (trend chart + log list).

Top Option Bar

  • Time range selector: Specify start and end times. Quick select options are available (last 5 min, 10 min, 30 min, 1 hour, 3 hours, 6 hours, 12 hours). You can specify down to seconds and milliseconds.
  • Merge criteria: Select the criteria for merging logs.
    • Transaction: Merges all LLM calls within a single transaction into one row. Call Count and Error Count are displayed together.
    • Step: Displays each individual LLM call (Step) as a separate row. You can check details such as model, temperature, and TTFT for each call.
  • Filter: Enter search queries to view only logs matching specific conditions.

Left Filter Panel

Provides tag-based filters for log fields. Value lists for each field are displayed and can be clicked to apply filters.

Trend Chart

Displays the log count for the selected time range as a bar chart by time period. You can collapse or expand the chart to adjust space, and drag the divider between the chart and log list to adjust proportions.

Log List

Displays LLM call logs in a table format. The columns displayed vary depending on the merge criteria (Transaction/Step).

Default Columns

ColumnDescription
StatusIndicates error status by color. Rows with errors are displayed in red.
TimeLog timestamp
OperationOperation Type of the LLM call
PromptSummary of prompt input and response. Click to open the transaction profile pop-out.
ModelLLM model name used
ProviderLLM provider (e.g., api.openai.com)
TokensTotal token count (Input + Output)
LatencyTime from request start to response completion (ms)
CostCost of the call ($)

Transaction Mode Columns

ColumnDescription
Call CountNumber of LLM calls within the transaction
Error CountNumber of calls with errors within the transaction

Step Mode Columns

ColumnDescription
StepLLM call sequence index within the transaction
Step IDUnique identifier of the individual LLM call
temperatureTemperature parameter value set for the LLM call
TTFTTime To First Token (ms). Displayed only in streaming mode.

Additional Columns

Additional columns can be displayed through column settings.

ColumnDescription
Input TokensNumber of input tokens
Output TokensNumber of output tokens
Cached TokensNumber of tokens retrieved from cache
Reasoning TokensNumber of reasoning tokens
Input CostInput cost ($)
Output CostOutput cost ($)
StreamStreaming mode status (True/False)
FeaturesEnabled feature flags
AgentAgent name
ErrorError message (displayed only when an error occurs)
Error TypeError type (api_error, program_error, etc.)
TXIDTransaction ID

Log Detail View

Click the Prompt column in the log list to open a transaction profile pop-out. You can view the full transaction details containing the LLM call.

  • Transaction mode: Navigates to the full transaction view.
  • Step mode: Opens the transaction view with the corresponding Step highlighted.

In the transaction profile, click an LLM HTTPC step to view the original prompt input/output, token/cost details, and GPU correlation analysis. For more details, see the LLM API Analysis document.

Merge Criteria Details

Transaction Merge

Merges all LLM calls within a single transaction (@txid) into one row.

  • Prompt display: The input of the first Step and the output of the last Step are displayed.
  • Tokens/Cost: The sum of all calls within the transaction is displayed.
  • Model: The representative model of the transaction is displayed.
  • Call Count / Error Count: The total call count and error call count are displayed.

Step Merge

Displays each individual LLM call (@step_id) as a separate row.

  • Prompt display: The input (Input Message) and output (Output Message) of the corresponding Step are displayed.
  • Tokens/Cost: Individual values for the call are displayed.
  • Additional info: Details such as temperature, TTFT, and Stream status can be checked at the call level.

Entry from Other Menus

Prompt Log is frequently used when drilling down from other analysis menus.

Entry PathDescription
Token Trend > Click time series chartThe time range for that point is automatically set and Prompt Log opens.
Token Trend > Click box plot modelThe filter for that model is automatically applied and Prompt Log opens.

Conversely, clicking the Prompt column in Prompt Log navigates to the transaction profile, where you can view all steps (DB, HTTP, LLM, etc.) within the transaction in chronological order.

Reference

Log Type

Prompt Log internally queries logs in the #LlmCallLog category.

Log TypeDescription
llm_step_statusFinal result of an individual LLM call (model, tokens, cost, performance, etc.)
llm_tx_statusTransaction-level aggregated result (call count, error count, summed tokens/cost)
system_messageSystem message (system role part of the prompt)
input_messageInput message (user prompt)
output_messageOutput message (model response)
toolTool call (Function calling)
tool_resultTool call result