I have a base search: index=oswin EventCode=19 SourceName="Microsoft-Windows-WindowsUpdateClient" earliest=-10d ComputerName=*.somedomain.com | rex "\WKB(?<KB>.\d+)\W" The result populates field ‘KB’ with a list of values similar to: 5007192 5008601 890830 I need to test if ‘KB’ contains one of the following: “5008601”, “5008602”, “5008603”, “5008604”, “5008605”, “5008606” If a match is found, populate field HotFixID (new field) with the matched value. If no match is found, populate field HotFixID with “NotInstalled”. Using search KB IN (5008601,5008602,5008603,5008604,5008605,5008606) results in matched values only. Case function works only if the matched value is the last one evaluated, otherwise it returns "notInstalled" even though a match is present.
... View more