> For the complete documentation index, see [llms.txt](https://docs.devolutions.net/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.devolutions.net/server/es/knowledge-base/troubleshooting-articles/iis-web-site-logging.md). Agents can also search and read this documentation through its [MCP server](https://docs.devolutions.net/~gitbook/mcp).

# Registro del sitio web de IIS

Describe los campos de registro recomendados del sitio web de IIS y el registro de eventos de reciclaje del grupo de aplicaciones para solucionar problemas de rendimiento de Devolutions Server.

Esta es la descripción de la configuración deseada cuando solucionamos un problema de rendimiento/conectividad relacionado con la aplicación cliente.

### Registro del sitio web de IIS

1. Abra el Administrador de IIS y vaya a la configuración de ***Registro***.
2. Haga clic en ***Seleccionar campos***.
3. Recomendamos que, como mínimo, se seleccionen los siguientes campos:
   * Hora (`time`)
   * Dirección IP del cliente (`c-ip`)
   * Nombre de usuario (`cs-username`)
   * Dirección IP del servidor (`s-ip`)
   * Puerto del servidor (`s-port`)
   * Método (`cs-method`)
   * Raíz del URI (`cs-uri-stem`)
   * Consulta del URI (`cs-uri-query`)
   * Estado del protocolo (`sc-status`)
   * Subestado del protocolo (`sc-substatus`)
   * Estado Win32 (`sc-win32-status`)
   * Tiempo empleado (`time-taken`)
   * Agente de usuario (`cs(User-Agent)`)
   * Referer (`cs(Referer)`)

### Reciclaje del grupo de aplicaciones

El grupo de aplicaciones que en realidad ejecuta la instancia puede reiniciarse por multitud de razones. Puede resultar útil saber cuándo se producen esos reciclajes, así como los motivos. Vaya a la sección ***Grupos de aplicaciones*** del Administrador de IIS y, a continuación, abra la ***Configuración avanzada*** de su grupo de aplicaciones. Active todos los ***Eventos de reciclaje***; se creará una entrada de registro en el ***Registro de eventos de Windows***.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.devolutions.net/server/es/knowledge-base/troubleshooting-articles/iis-web-site-logging.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
