ltm rule command HSL send
iRule(1) BIG-IP TMSH Manual iRule(1)
HSL::send
Sends data via High Speed Logging.
SYNOPSIS
HSL::send HANDLE DATA
DESCRIPTION
Send data via High Speed Logging
Syntax
HSL::send
* Sends the specified data via High Speed Logging. The handle must
have been previously created with HSL::open.
Note that the BIG-IP does not specifically format the data in any way,
it just passes it on to the server.
* Returns 1 if the specified data has been sent and 0 otherwise.
RETURN VALUE
VALID DURING
EXAMPLES
when CLIENT_ACCEPTED {
set hsl [HSL::open -proto UDP -pool syslog_server_pool]
}
when HTTP_REQUEST {
# Log HTTP request as local7.info; see RFC 3164 Section 4.1.1 - "PRI Part" for more info
HSL::send $hsl "<190> [IP::local_addr] [HTTP::uri]\n"
}
HINTS
SEE ALSO
CHANGE LOG
@BIGIP-10.1.0 --First introduced the command.
BIG-IP 2017-01-31 iRule(1)