|
Please note
that this filter would not accomplish what we want. The SQL
syntax from the picture above is:
HEADER_HOST in ('Switch1',
'Switch2') and MSG_CONTENT LIKE '%Uplink%'
The static
first part of the query, SELECT * FROM SYSLOG WHERE, is left out for
readability. To modify the query, we insert
a 'NOT' to show that we do not want the entries with the text Uplink
to be shown:
HEADER_HOST in ('Switch1',
'Switch2') and MSG_CONTENT NOT LIKE
'%Uplink%'
Next we
manually add another keyword that is not to be allowed through the
filter. We copy and paste a large portion of what is already there:
HEADER_HOST in ('Switch1',
'Switch2') and MSG_CONTENT NOT LIKE '%Uplink%' and MSG_CONTENT NOT LIKE
'%Downlink%'
This
filter does what we want: Show all entries from Switch1 and Switch2
that does not contain the words Uplink or Downlink.
|