cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
564
Views
0
Helpful
2
Replies

Baseline templates in LMS regular expresion help

stevepr
Level 1
Level 1

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 Accepted Solution
2 Replies 2

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