a10_fw_template_logging

Synopsis

Logging Template

Parameters

Parameters

Choices/Defaults

Comment

state

str/required

[‘noop’, ‘present’, ‘absent’]

State of the object to be created.

ansible_host

str/required

Host for AXAPI authentication

ansible_username

str/required

Username for AXAPI authentication

ansible_password

str/required

Password for AXAPI authentication

ansible_port

int/required

Port for AXAPI authentication

a10_device_context_id

int

[‘1-8’]

Device ID for aVCS configuration

a10_partition

str

Destination/target partition for object/command

name

str/required

Logging Template Name

resolution

str

‘seconds’= Logging timestamp resolution in seconds (default); ‘10-milliseconds’= Logging timestamp resolution in 10s of milli-seconds;

include_dest_fqdn

bool

Include destination FQDN string

merged_style

bool

Merge creation and deletion of session logs to one

include_year

bool

include the 4-digit year in logs

log

dict

Field log

http_requests

str

‘host’= Log the HTTP Host Header; ‘url’= Log the HTTP Request URL;

include_radius_attribute

dict

Field include_radius_attribute

attr_cfg

list

Field attr_cfg

no_quote

bool

No quotation marks for RADIUS attributes in logs

framed_ipv6_prefix

bool

Include radius attributes for the prefix

prefix_length

str

‘32’= Prefix length 32; ‘48’= Prefix length 48; ‘64’= Prefix length 64; ‘80’= Prefix length 80; ‘96’= Prefix length 96; ‘112’= Prefix length 112;

insert_if_not_existing

bool

Configure what string is to be inserted for custom RADIUS attributes

zero_in_custom_attr

bool

Insert 0000 for standard and custom attributes in log string

include_http

dict

Field include_http

header_cfg

list

Field header_cfg

l4_session_info

bool

Log the L4 session information of the HTTP request

method

bool

Log the HTTP Request Method

request_number

bool

HTTP Request Number

file_extension

bool

HTTP file extension

rule

dict

Field rule

rule_http_requests

dict

Field rule_http_requests

facility

str

‘kernel’= 0= Kernel; ‘user’= 1= User-level; ‘mail’= 2= Mail; ‘daemon’= 3= System daemons; ‘security-authorization’= 4= Security/authorization; ‘syslog’= 5= Syslog internal; ‘line-printer’= 6= Line printer; ‘news’= 7= Network news; ‘uucp’= 8= UUCP subsystem; ‘cron’= 9= Time-related; ‘security-authorization- private’= 10= Private security/authorization; ‘ftp’= 11= FTP; ‘ntp’= 12= NTP; ‘audit’= 13= Audit; ‘alert’= 14= Alert; ‘clock’= 15= Clock-related; ‘local0’= 16= Local use 0; ‘local1’= 17= Local use 1; ‘local2’= 18= Local use 2; ‘local3’= 19= Local use 3; ‘local4’= 20= Local use 4; ‘local5’= 21= Local use 5; ‘local6’= 22= Local use 6; ‘local7’= 23= Local use 7;

severity

str

‘emergency’= 0= Emergency; ‘alert’= 1= Alert; ‘critical’= 2= Critical; ‘error’= 3= Error; ‘warning’= 4= Warning; ‘notice’= 5= Notice; ‘informational’= 6= Informational; ‘debug’= 7= Debug;

format

str

‘ascii’= A10 Text logging format (ASCII); ‘cef’= Common Event Format for logging (default);

service_group

str

Bind a Service Group to the logging template (Service Group Name)

uuid

str

uuid of the object

user_tag

str

Customized tag

session_periodic_log

dict

Field session_periodic_log

interval

int

Logging time interval (minutes) for long lived sessions

uuid

str

uuid of the object

source_address

dict

Field source_address

ip

str

Specify source IP address

ipv6

str

Specify source IPv6 address

uuid

str

uuid of the object

Examples


Return Values

modified_values (changed, dict, )

Values modified (or potential changes if using check_mode) as a result of task operation

axapi_calls (always, list, )

Sequential list of AXAPI calls made by the task

endpoint (, str, [‘/axapi/v3/slb/virtual_server’, ‘/axapi/v3/file/ssl-cert’])

The AXAPI endpoint being accessed.

http_method (, str, [‘POST’, ‘GET’])

HTTP method being used by the primary task to interact with the AXAPI endpoint.

request_body (, complex, )

Params used to query the AXAPI

response_body (, complex, )

Response from the AXAPI

Status

  • This module is not guaranteed to have a backwards compatible interface. [preview]

  • This module is maintained by community.

Authors

  • A10 Networks