Update HMC syslog ignore filter.

This commit is contained in:
Mark Nellemann 2021-03-29 22:16:15 +02:00
parent e9d9355318
commit 69347764a9

View file

@ -12,7 +12,7 @@ Network / Firewall must allow UDP (and possible TCP) traffic on port 514 from HM
To add a remote logging destination, run the following command. Use the filter to discard unwanted messaged.
```shell
chhmc -c syslog -t udp -s add -h 10.32.64.1 --input "filter_msg_contains_discard_strings=run-parts,slice,session,leases,renewal,0anacron,Session,DHCPREQUEST,DHCPACK,CMD,CRON"
chhmc -c syslog -t udp -s add -h 10.32.64.1 --input "filter_msg_contains_discard_strings=run-parts,slice,session,leases,renewal,0anacron,Session,DHCPREQUEST,DHCPACK,CMD,CRON,SCHEDULED"
```
In the above example we filter away some messages that we are not interested in forwarding on remotely.