To create a filter:
1- create the action /
2- look for the log message ( show log message )
3- Optional: look for some help: help syslog BFDD_TRAP_SHOP_STATE_UP
4- filter on deamon
only bgp | |
only bfd | |
Regular expression | https://www.juniper.net/documentation/en_US/junos/topics/task/configuration/syslog-regular-expressions-usage-log-messages-refining.html |
The match-strings statement performs a simple string comparison, and as a result, it is less CPU-intensive than using the match statement to match against complex regular expressions | |
match-strings | match-strings Matching string(s) for lines to be logged |
match | <match> Regular expression for lines to be logged |
...