> For the complete documentation index, see [llms.txt](https://docs.verge.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.verge.io/knowledge-base/es/troubleshooting/configuring-remote-log-forwarding.md).

# Configuración del reenvío remoto de registros (Syslog)

VergeOS se puede configurar para reenviar registros a un servidor Syslog remoto, una capacidad importante para las organizaciones que aprovechan la agregación de registros para la gestión centralizada, el archivado de registros y el cumplimiento normativo.

{% hint style="success" %}
**Retención de registros**

La actividad registrada suele estar disponible dentro de la interfaz de usuario de VergeOS durante un máximo de **45 días**. Configure el reenvío de registros remotos para conservarlos durante períodos más largos.
{% endhint %}

## Requisitos previos

* Conectividad de red entre VergeOS y el servidor syslog remoto
* Reglas de firewall adecuadas para permitir el tráfico syslog (normalmente el puerto 514)
* Acceso a la Configuración del sistema de VergeOS

## Pasos de configuración

Para configurar el reenvío de registros a un servidor syslog remoto:

### 1. Vaya a Configuración avanzada

Vaya a **Sistema > Configuración > Configuración avanzada**.

### 2. Configure el servidor Syslog remoto

1. En el encabezado de la columna "Setting", escriba `syslog` y presione ++enter++ para buscar
2. Seleccione y edite **Servidor syslog remoto (tcp: @@name/ip:port, udp: @name/ip:port)**
3. Configure este ajuste de acuerdo con la sintaxis esperada por su servidor remoto:

{% hint style="info" %}
**Ejemplos de configuración del servidor**

* **Para TCP:** `@@10.10.10.10:514`
* **Para UDP:** `@10.10.10.10:514`
  {% endhint %}

4. Haga clic en **Enviar** en la parte inferior de la página para guardar

### 3. Configure la plantilla de formato

1. Busque `syslog` de nuevo en la configuración
2. Seleccione y edite **Plantilla para definir para el servidor syslog (consulte rsyslog para el formato)**
3. Introduzca un formato de plantilla syslog compatible con su servidor syslog remoto

{% hint style="info" %}
**Ejemplo de plantilla**

```plaintext
   GRAYLOGRFC5424,"<%PRI%>%PROTOCOL-VERSION% %TIMESTAMP:::date-rfc3339% %HOSTNAME%.your-hostname-here %APP-NAME% %PROCID% %MSGID% %STRUCTURED-DATA% %msg%\n"
```

{% endhint %}

{% hint style="info" %}
Reemplace `your-hostname-here` con su nombre de host real, o deje como `.HOSTNAME_HERE` para usar el nombre de host predeterminado del sistema.
{% endhint %}

4. Haga clic en **Enviar** en la parte inferior de la página para guardar el formato

## Recursos adicionales

Para obtener más información sobre las plantillas syslog y las opciones de formato, visite la [Documentación de Rsyslog](https://www.rsyslog.com/doc/master/configuration/examples.html).

## Verificación

Después de completar la configuración, los registros comenzarán a reenviarse al servidor syslog especificado. Revise los registros de su servidor remoto para verificar que los registros de VergeOS se estén recibiendo correctamente.


---

# 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 dynamically by asking a question.

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

```
GET https://docs.verge.io/knowledge-base/es/troubleshooting/configuring-remote-log-forwarding.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
