Forum Discussion
jamesdris
Nimbostratus
Jul 27, 2015HSL not working
I am trying to send logs to a remote server via port 514, here is what I put into my irule:
when CLIENT_ACCEPTED {
set hsl [HSL::open -proto UDP -pool syslog-server-pool]
}
when SERVER_CONN...
pete_71470
Cirrostratus
Jul 27, 2015With HSL::send you need a prefix on the string to tell the syslog server how to log message (facility, severity).
Take a peek here: link text.
So for example, if you wanted to write the message to local1.info on the syslog server your HSL::send would look like this:
HSL::send $hsl "<142> IP accessing VIP..."jamesdris
Nimbostratus
Aug 03, 2015Even after setting the log type in log to be sent, nothing is showing up in the logs for any HSL::send event.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects