I'm having trouble with the logic for a compliance report on standards. As we've refreshed hardware and updated IOS on a lot of our gear, the old compliance report I had to look for logging x.x.x.x now generates a lot of violations because many of these updated systems have logging host x.x.x.x
I'm hoping someone has figured out the regex logic to look for the line that starts with logging and ends with x.x.x.x but doesn't necessarily care about the host command in the middle. I've tried multiple things with no luck.