Forum Discussion

2019F5DevCentra's avatar
Jul 23, 2019

HSL Loggin

Is there any requirements for HSL Logging cross Partition?

 

I can't seem to get HSL Logging to with an irule. Is it possible to do this cross Partition? Should the below work Cross Partitions? It does not appear so at the moment.

 

when RULE_INIT {

  set static::general_remote_syslog_publisher "/Common/remote-db-publisher"

}

 

when CLIENT_ACCEPTED {

  set hsl [HSL::open -publisher $static::general_remote_syslog_publisher]

  HSL::send $hsl "Client connect from [IP::client_addr]:[TCP::client_port]"

}

  • Code looks fine to me and yes should be able to do this cross partition.

     

    Make sure the endpoints used by the publisher are accessible from the F5 system and try to also log locally as well to ensure the HSL iRule code is working correctly.