Baseline templates in LMS regular expresion help

Answered Question
Jun 24th, 2009
User Badges:

I am trying to write a baseline check that removes all logging statements except for my two active syslog servers. Over the years some devices still send syslog to old non-existent severs.


- logging [#!x.x.x.x|!y.y.y.y#]


x.x.x.x and y.y.y.y being the only servers I want to keep.


The check on the line above works for x.x.x.x but not for the y.y.y.y. It seems like the items on the right side of the pipe is not being evaluated.


Thanks

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (1 ratings)
Loading.
stevepr Wed, 06/24/2009 - 07:53
User Badges:

Thanks


Unfortunately I am running 4.0.6 because I am still stuck on LMS 2.6 looks like the conditional statements only work after 4.1.1


O well.


Thanks



Actions

This Discussion