F5BigLogHslpub¶
Overview¶
The F5BigLogHslpub Custom Resource (CR) defines the various logging options, such as syslog message format, protocol, distribution method, and logging endpoints. F5BigLogHslpub can be referenced in F5BigLogProfile, F5BigDdosGlobal CRs.
Parameters¶
metadata¶
Parameters |
Description |
|---|---|
|
The The unique name identifying the HSL Publisher resource. |
|
The Kubernetes namespace in which the HSL Publisher resource is created. |
spec¶
Parameter |
Type |
Description |
Default |
|---|---|---|---|
|
string |
Defines the load balancing mode used to distribute traffic across multiple pool members. Allowed values: |
|
|
array |
Specifies the pool(s) of logging endpoints to receive logging messages. |
|
|
object |
Configuration object defining a logging pool with its name and associated endpoints for message distribution. Required field: |
(none) |
|
string |
User defined name for the HSL logging pool. Pattern: |
(none) |
|
integer |
Minimum number of members that must be available in one priority group; if fewer are active, selects the next priority group. Range: 0–65535. |
|
|
array |
IPv4/IPv6 endpoint list in |
(none) |
|
string |
A valid IPv4 or IPv6 address with port ( |
(none) |
|
array |
Structured list of pool members (address/port/priorityGroup). If provided, must have at least 1 item ( |
(none) |
|
object |
Configuration object for a pool member. |
|
|
string |
Address of the service to which logging messages are sent (IPv4 or IPv6, no prefix). Min 2, max 39. |
|
|
integer |
Port of the service to which logging messages are sent. Range: 0–65535. |
|
|
integer |
Priority group to determine order in which pool members are selected. Range: 0–8. |
|
|
object |
Monitors used to monitor pool members. TCP and ICMP are supported. |
|
|
array |
ICMP monitor definitions. |
|
|
object |
ICMP monitor configuration object. |
|
|
integer (int32) |
Frequency in seconds for monitor checks when resource is down/unknown. Range: 0–4294967295. |
|
|
integer |
Seconds the target has to respond. Range: 0–4294967295. (Description says timeout must be <= interval.) |
|
|
array |
TCP monitor definitions. |
|
|
object |
TCP monitor configuration object. |
|
|
integer (int32) |
Frequency in seconds for monitor checks when resource is down/unknown. Range: 0–4294967295. |
|
|
integer |
Seconds the target has to respond. Range: 0–4294967295. (Description says timeout must be <= interval.) |
|
|
array |
Syslog configurations for different logging destinations and their properties. |
|
|
object |
Individual syslog configuration object. Required fields: |
(none) |
|
string |
User defined name for the syslog configuration. Pattern: |
(none) |
|
string |
Syslog message format for output log data. Allowed values: |
|
|
string |
Protocol to use when connecting to the logging endpoint. Allowed values: |
|
|
string |
Distribution method for sending messages to pool members. Allowed values: |
|
|
string |
Name of the pool (from |
(none) |
|
array |
IPFIX (or Netflow-9) logging configurations. |
|
|
object |
Individual IPFIX configuration object. Required fields: |
(none) |
|
string |
User defined name for the IPFIX configuration. Pattern: |
(none) |
|
integer |
Retransmit interval (seconds) for IPFIX templates; helpful for UDP. Range: 0–4294967295. |
|
|
string |
Protocol type/version. Allowed values: |
|
|
string |
Name of the pool (from |
(none) |
|
object |
Specifies either a TCP or UDP profile for IPFIX logging. Must set exactly one of |
|
|
string |
TCP profile name (F5BigTcpSetting) for IPFIX logging. Pattern: |
(none) |
|
string |
UDP profile name (F5BigUdpSetting) for IPFIX logging. Pattern: |
(none) |
Sample CR¶
apiVersion: k8s.f5net.com/v1
kind: F5BigLogHslpub
metadata:
name: hsl-publisher
namespace: f5-bnk
spec:
pool:
-
name: hsl-pool
endpoint:
- 11.19.10.100:514
syslog:
-
name: syslog
format: rfc5424
protocol: tcp
pool: hsl-pool
Create and apply F5BigLogHslpub CR¶
Copy the sample CR into a YAML
<hsl.yaml>file.Apply the F5BigLogHslpub CR:
kubectl apply -f hsl.yaml
f5bigloghslpub.k8s.f5net.com/hsl-publisher created
kubectl get -f hsl.yaml
NAME READY MESSAGE AGE
hsl-publisher True CR config sent to all grpc endpoints 6s
The log message indicates that the F5BigLogHslpub CR was added/updated:
kubectl describe -f hsl.yaml
..
Status:
Conditions:
Last Transition Time: 2026-03-18T13:11:13Z
Message:
Observed Generation: 0
Reason: Accepted
Status: True
Type: Accepted
Last Transition Time: 2026-03-18T13:11:13Z
Message: CR config sent to all grpc endpoints
Observed Generation: 2
Reason: Programmed
Status: True
Type: Programmed
Generation Id: 0
Events:
Type Reason Age From Message
---- ------ ---- ---- -------
Normal Added/Updated 11s f5-cne-controller F5Hslpub f5-bnk/hsl-publisher was added/updated