bigip_device_syslog
Manage BIG-IP system logging
Collection: f5networks.f5_modules
Full Name: f5networks.f5_modules.bigip_device_syslog
Synopsis
Manage BIG-IP system logging
Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| provider | dict | BIG-IP connection options: server, server_port (443), user, private password aliases pass/pwd, validate_certs (true), transport (rest), timeout, no_f5_teem (false), auth_provider. Fallbacks resolve on the execution host. | ||
| auth_priv_from | str | Optional level: alert, crit, debug, emerg, err, info, notice, warning. Omitted is unmanaged; explicit null fails choices. | ||
| auth_priv_to | str | Optional level: alert, crit, debug, emerg, err, info, notice, warning. Omitted is unmanaged; explicit null fails choices. | ||
| console_log | bool | Optional boolean. Null is unmanaged. Wire enabled/disabled; changed output is the STRING yes/no, following the source body despite its bool return documentation. | ||
| cron_from | str | Optional level: alert, crit, debug, emerg, err, info, notice, warning. Omitted is unmanaged; explicit null fails choices. | ||
| cron_to | str | Optional level: alert, crit, debug, emerg, err, info, notice, warning. Omitted is unmanaged; explicit null fails choices. | ||
| daemon_from | str | Optional level: alert, crit, debug, emerg, err, info, notice, warning. Omitted is unmanaged; explicit null fails choices. | ||
| daemon_to | str | Optional level: alert, crit, debug, emerg, err, info, notice, warning. Omitted is unmanaged; explicit null fails choices. | ||
| include | str | Optional scalar string, maximum4096 UTF8 bytes. Null is unmanaged; empty or exact none clears. Double quotes become single quotes unless immediately preceded by a backslash. No syntax validation. | ||
| iso_date | bool | Optional boolean. Null is unmanaged. Wire enabled/disabled; changed output is the STRING yes/no, following the source body despite its bool return documentation. | ||
| kern_from | str | Optional level: alert, crit, debug, emerg, err, info, notice, warning. Omitted is unmanaged; explicit null fails choices. | ||
| kern_to | str | Optional level: alert, crit, debug, emerg, err, info, notice, warning. Omitted is unmanaged; explicit null fails choices. | ||
| local6_from | str | Optional level: alert, crit, debug, emerg, err, info, notice, warning. Omitted is unmanaged; explicit null fails choices. | ||
| local6_to | str | Optional level: alert, crit, debug, emerg, err, info, notice, warning. Omitted is unmanaged; explicit null fails choices. | ||
| mail_from | str | Optional level: alert, crit, debug, emerg, err, info, notice, warning. Omitted is unmanaged; explicit null fails choices. | ||
| mail_to | str | Optional level: alert, crit, debug, emerg, err, info, notice, warning. Omitted is unmanaged; explicit null fails choices. | ||
| messages_from | str | Optional level: alert, crit, debug, emerg, err, info, notice, warning. Omitted is unmanaged; explicit null fails choices. | ||
| messages_to | str | Optional level: alert, crit, debug, emerg, err, info, notice, warning. Omitted is unmanaged; explicit null fails choices. | ||
| user_log_from | str | Optional level: alert, crit, debug, emerg, err, info, notice, warning. Omitted is unmanaged; explicit null fails choices. | ||
| user_log_to | str | Optional level: alert, crit, debug, emerg, err, info, notice, warning. Omitted is unmanaged; explicit null fails choices. |
Example
yaml
- name: Configure BIG-IP system logging
f5networks.f5_modules.bigip_device_syslog:
auth_priv_from: notice
console_log: true
provider:
server: lb.mydomain.com
user: admin
password: '{{ bigip_password }}'
delegate_to: localhost
- name: Preview clearing a BIG-IP syslog include
f5networks.f5_modules.bigip_device_syslog:
include: ''
provider:
server: lb.mydomain.com
user: admin
password: '{{ bigip_password }}'
check_mode: true
delegate_to: localhost