Log::DestinationRemoteSyslog::set_format

Introduced : BIG-IP_v11.3.0
Sets the syslog format for the specified remote syslog destinations. The format is the format of the syslog messages sent to the remote syslog server. See SyslogFormat for more details.

Prototype

 set_format(
    in String [] destinations,
    in SyslogFormat [] formats
);

Parameters

Parameter Type Description
destinations String [] A list of remote syslog destinations.
formats SyslogFormat [] A list of syslog formats for the specified destinations.

Return Type

Type Description
void  

Exceptions

Exception Description
Common::AccessDenied Raised if the client credentials are not valid.
Common::InvalidArgument Raised if one of the arguments is invalid.
Common::OperationFailed Raised if an operation error occurs.

See Also

Warning

The links to the sample code below are remnants of the old DevCentral wiki and will result in a 404 error. For best results, please copy the link text and search the codeshare directly on DevCentral.

Sample Code


The BIG-IP API Reference documentation contains community-contributed content. F5 does not monitor or control community code contributions. We make no guarantees or warranties regarding the available code, and it may contain errors, defects, bugs, inaccuracies, or security vulnerabilities. Your access to and use of any code available in the BIG-IP API reference guides is solely at your own risk.