# View Logs

## Feature Overview

The **Logs** feature offers real-time insights into each input and output message within the dialog simulator, providing essential information that simplifies the debugging process and accelerates troubleshooting.

<figure><img src="/files/TZ23JIaxjYmHOReRdl4a" alt=""><figcaption><p>Log expanded. Click the pin next to the message to view details for that specific message.</p></figcaption></figure>

### **Accessing Logs**

The Logs can be accessed through the **dialog simulator** by clicking on the `Open log` (pin icon).  <br>

<figure><img src="/files/5WU7qkr7nXtkr3mO9aZp" alt="" width="335"><figcaption></figcaption></figure>

### **Key Functionalities**

<table><thead><tr><th width="182">Function</th><th width="565">Description</th></tr></thead><tbody><tr><td><strong>Error Tracking and Identification</strong></td><td>Displays a field detailing the error that occurred with that functionality, such as error type and precise timestamp (in milliseconds).</td></tr><tr><td><strong>Detailed Information on Services</strong></td><td><ul><li><strong>External Services:</strong> Logs show timestamps, error messages, error codes, service type, response, and metadata for all external service calls (e.g., <a href="/pages/4ySamLtVfsVicP1KT4ct">Rest Connector</a>, <a href="/pages/hzWdfq0fOFOJfWT0A5Ae">Prompt cell</a>, <a href="/pages/HgK4Rg3FFCFAxU3ASHav">Knowledge AI</a>, <a href="/pages/rvh2jO2Z9lYiAmzIv5ii">Multilingual suppport</a>, <a href="/pages/-MZYDqdAducS0BBsO_X1">Webhook</a>, <a href="/pages/LYiXwTJxQzRAV7IPhnzb#e-transactional-answer">Transactional answers</a>). Gen AI services include prompt details, language model, tokens used, and temperature settings.</li><li><strong>Internal Services:</strong> Logs include information on internal components (e.g., NLP calls, masking, Knowledge AI), covering intent scores, error codes, and answers.</li></ul></td></tr><tr><td><strong>Exporting and Downloading</strong></td><td>Logs can be downloaded in JSON format for documentation, further analysis, or archiving.</td></tr><tr><td><strong>Entry Structure</strong></td><td>Each entry is displayed as a single line for easy scanning, with comprehensive tracking of interactions, particularly for cells that call external services.</td></tr><tr><td><strong>Filtering</strong></td><td>Logs can be pinned to specific conversation points, allowing users to filter by message and trace errors to their origin within the dialog flow. You can filter logs based on <strong>date/time</strong> and <strong>type</strong> (info or error), ensuring an easier way to navigate. </td></tr></tbody></table>

The NLP option only appears when the agent is integrated with a NLP. If your agent is integrated with a LLM, Zero-Shot will appear instead.

{% hint style="info" %}
If you need a more in-depth insights into your analysis, try [**executing an Advanced Request task**](/testing/advanced-request.md) to assess your agent’s performance.
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs-conversational-ai.syntphony.com/testing/view-logs.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
