Question on the log exporter settings and putting in a filter for only select Security Gateways.
Doing a POC and we just want to export syslogs to a select GW cluster for now (All logs).
Following SK 122323, Im reading this as such
- cp_log_export add name POC target-server <target-ip> target-port 514 protocol udp
- cp_log_export set name POC filter-origin-in {"Origin1","Origin2"}
- cp_log_export restart name POC
For the origin in, is that truely reflected input based on the Gateway names within SmartConsole or via its actual IP address?
If its via the gateway names, do i have to specify both Gateway A and B in the cluster or can i just use the single cluster object to cover both? I know I can filter logs with in Smartconsole by the cluster object to see logs for both members but not sure if this translates over.
Been looking at some past posts within checkmates and its seems there are some mentioning that you need to use the IP address for the origin as that is what is translated back to the syslog server but the notes in the SK (and R81.20 CLI & logging guides) seem to really mention the name:
"Specifies whether to export all logs that contain a specific value in the "Origin" field (the object name of the Security Gateway/ Cluster Member that generated these logs).
Thanks in advance for any help/clarification that can be provided