I'm trying to omit a specific log from being sent to our NMS. We are already using a discriminator to limit the severity of messages to include 5,4,3,2,1,0. I'd also like to add to this so that it sends all syslogs including those 6 severities, but omits a specific log message. I've tried configuring like this so far, but I cannot get the particular message omitted.
Config:
logging discriminator WUG severity includes 5,4,3,2,1,0 msg-body drops rec'd IPSEC packet has invalid spi
logging discriminator CRYPTO msg-body drops "rec'd IPSEC packet has invalid spi"
logging buffered discriminator CRYPTO 16384 informational
logging source-interface Loopback0
logging host ipv6 2001:db8:38C6::1:200 discriminator WUG
logging host ipv6 2001:db8:5AC2::1:200
I will note that I have tried the mnemonics command and the msg-body command to no avail. I am still getting the crypto message sent to my NMS. Any ideas?
logging trap notification
)? You can combine that with the message discriminator if necessary.