I have a log file that has 40 different types of entries that are possible. There are a few that contain most of the 40 entries. At no time will a single log entry contain more than one type of entry. The selection criteria is only part of the entry so a match needs to be done based upon that the line contains the criteria and is not the criteria.
What would be the best type of approach to use in this situation? Is there something like a CASE statement?