# init_log_module

**Descripción**

Inicializa una plantilla de módulo de logs con valores por defecto.

**Parámetros**

<table border="1" id="bkmrk-module-acepta-el-tip" style="width: 642px; height: 58px;"><tbody><tr style="height: 29px;"><td style="width: 117px; height: 29px;">**Nombre**</td><td style="width: 53px; height: 29px;"><div><div>**Tipo**</div></div></td><td style="width: 93px; height: 29px;"><div><div>**Requerido**</div></div></td><td style="width: 379px; height: 29px;">**Descripción**</td></tr><tr style="height: 29px;"><td style="width: 117px; height: 29px;"><div><div>default_values</div></div></td><td style="width: 53px; height: 29px;"><div><div>dict</div></div></td><td style="width: 93px; height: 29px;"><div><div>Si</div></div></td><td style="width: 379px; height: 29px;">Módulo en formato dict</td></tr></tbody></table>

**Return**

<table border="1" id="bkmrk-module_xml-m%C3%B3dulo-en" style="width: 641px;"><tbody><tr><td style="width: 75px;">**Tipo**</td><td style="width: 566px;">**Descripción**</td></tr><tr><td style="width: 75px;">dict</td><td style="width: 566px;">Módulo de logs en formato XML</td></tr></tbody></table>

**Versión**

- 1.0.0

**Ejemplo**

```
import pandoraPlugintools as pt

# Define default values for the log module template
default_log_module_values = {
    "source": "System",
    "value": "The host is not accessible",
}

# Initialize a log module template with default values
log_module_template = pt.modules.init_log_module(default_log_module_values)

# Print the initialized log module template
print("Initialized Log Module Template:", log_module_template)
```