bigip_log_destination – Manages log destinations on a BIG-IP
bigip_log_destination – Manages log destinations on a BIG-IP
New in version 2.6.
Synopsis
- Manages log destinations on a BIG-IP.
Parameters
Parameter | Choices/Defaults | Comments | |
---|---|---|---|
address string added in 2.8 |
Specifies the IP address that will receive messages from the specified local Log Destination. This parameter is only available when When creating a new log destination and | ||
description string |
The description of the log destination. | ||
distribution string added in 2.8 |
|
Specifies the distribution method used by the Remote High Speed Log destination to send messages to pool members. When When When When creating a new log destination and | |
forward_to string added in 2.8 |
When When When creating a new log destination and | ||
name string / required |
Specifies the name of the log destination. | ||
partition string |
Default: "Common" |
Device partition to manage resources on. | |
pool string added in 2.8 |
When When When creating a new destination and | ||
pool_settings dictionary |
This parameter is only available when Deprecated. Use the equivalent top-level parameters instead. | ||
distribution string |
|
Specifies the distribution method used by the Remote High Speed Log destination to send messages to pool members. When When When When creating a new log destination (and | |
pool string |
Specifies the existing pool of remote high-speed log servers where logs will be sent. When creating a new destination (and | ||
protocol string |
|
Specifies the protocol for the system to use to send logs to the pool of remote high-speed log servers, where the logs are stored. When creating a new log destination (and | |
port integer added in 2.8 |
Specifies the port of the IP address that will receive messages from the specified local Log Destination. This parameter is only available when When creating a new log destination and | ||
protocol string added in 2.8 |
|
When When When When | |
provider dictionary added in 2.5 |
A dict object containing connection details. | ||
auth_provider string |
Configures the auth provider for to obtain authentication tokens from the remote device. This option is really used when working with BIG-IQ devices. | ||
password string / required |
The password for the user account used to connect to the BIG-IP. You may omit this option by setting the environment variable
| ||
server string / required |
The BIG-IP host. You may omit this option by setting the environment variable | ||
server_port integer |
Default: 443 |
The BIG-IP server port. You may omit this option by setting the environment variable | |
ssh_keyfile path |
Specifies the SSH keyfile to use to authenticate the connection to the remote device. This argument is only used for cli transports. You may omit this option by setting the environment variable | ||
timeout integer |
Specifies the timeout in seconds for communicating with the network device for either connecting or sending commands. If the timeout is exceeded before the operation is completed, the module will error. | ||
transport string |
|
Configures the transport connection to use when connecting to the remote device. | |
user string / required |
The username to connect to the BIG-IP with. This user must have administrative privileges on the device. You may omit this option by setting the environment variable | ||
validate_certs boolean |
|
If You may omit this option by setting the environment variable | |
server_ssl_profile string added in 2.8 |
If the An SSL server profile defines how to communicate securely over SSL or Transport Layer Security (TLS). This parameter is only available when | ||
state string |
|
When When | |
syslog_format string added in 2.8 |
|
Specifies the method to use to format the logs associated with the remote Syslog log destination. When creating a new log destination (and The The | |
syslog_settings dictionary |
This parameter is only available when Deprecated. Use the equivalent top-level parameters instead. | ||
forward_to string |
Specifies the management port log destination, which will be used to forward the logs to a single log server, or a remote high-speed log destination, which will be used to forward the logs to a pool of remote log servers. When creating a new log destination (and | ||
syslog_format string |
|
Specifies the method to use to format the logs associated with the remote Syslog log destination. When creating a new log destination (and The The | |
template_delete_delay integer added in 2.8 |
Enter the time (in seconds) that the BIG-IP device should pause between deleting an obsolete IPFIX template and reusing its template ID. This feature is useful for systems where you use iRules to create customized IPFIX templates. | ||
template_retransmit_interval integer added in 2.8 |
Enter the time (in seconds) between each transmission of IPFIX templates to the pool of IPFIX collectors. The logging destination periodically retransmits all of its IPFIX templates at the interval you set in this field. These retransmissions are helpful for UDP, a lossy transport mechanism. This parameter is only available when | ||
transport_profile string added in 2.8 |
Is a transport profile based on either TCP or UDP. This profile defines the TCP or UDP options used to send IP-traffic logs to the pool of collectors. This parameter is only available when | ||
type string / required |
|
Specifies the type of log destination. Once created, this parameter cannot be changed. |
Notes
Note
- For more information on using Ansible to manage F5 Networks devices see https://www.ansible.com/integrations/networks/f5.
- Requires BIG-IP software version >= 12.
- The F5 modules only manipulate the running configuration of the F5 product. To ensure that BIG-IP specific configuration persists to disk, be sure to include at least one task that uses the bigip_config module to save the running configuration. Refer to the module’s documentation for the correct usage of the module to save your running configuration.
Examples
- name: Create a high-speed logging destination
bigip_log_destination:
name: foo
type: remote-high-speed-log
pool: my-ltm-pool
provider:
password: secret
server: lb.mydomain.com
user: admin
delegate_to: localhost
- name: Create a remote-syslog logging destination
bigip_log_destination:
name: foo
type: remote-syslog
syslog_format: rfc5424
forward_to: my-destination
provider:
password: secret
server: lb.mydomain.com
user: admin
delegate_to: localhost
Return Values
Common return values are documented here, the following are the fields unique to this module:
Key | Returned | Description |
---|---|---|
address string |
changed |
The new Address value.
Sample: 1.2.3.2 |
distribution string |
changed |
The new Distribution Method value.
Sample: balanced |
forward_to string |
changed |
The new Forward To value.
Sample: /Common/dest1 |
pool string |
changed |
The new Pool value.
Sample: /Common/pool1 |
port integer |
changed |
The new Port value.
Sample: 2020 |
protocol string |
changed |
The new Protocol value.
Sample: tcp |
server_ssl_profile string |
changed |
The new Server SSL Profile value.
Sample: /Common/serverssl |
syslog_format string |
changed |
The new Syslog format value.
Sample: syslog |
template_delete_delay integer |
changed |
The new Template Delete Delay value.
Sample: 20 |
template_retransmit_interval integer |
changed |
The new Template Retransmit Interval value.
Sample: 200 |
transport_profile string |
changed |
The new Transport Profile value.
Sample: /Common/tcp |
Status
- This module is not guaranteed to have a backwards compatible interface. [preview]
- This module is maintained by an Ansible Partner. [certified]
Authors
- Tim Rupp (@caphrim007)
© 2012–2018 Michael DeHaan
© 2018–2019 Red Hat, Inc.
Licensed under the GNU General Public License version 3.
https://docs.ansible.com/ansible/2.9/modules/bigip_log_destination_module.html