I have a search yielding data from three different email fields, call them msg.header.to{}, msg.header.cc{} and orig_recipient. I am looking to see if the email address contained within orig_recipient matches either of the other two. The issue is that Splunk captures the data differently in the msg.header columns. For example, the msg.header columns output is "Smith, Joe <joe.smith@email.com>", while the output in the orig_recipient would only be "joe.smith@email.com". So, when I ask Splunk to tell me if the orig_recipient email address is in the msg.header.to{}, I get a negative. I have tried Like, If, Where and others, along with using wildcards but maybe my syntax is wrong. I am looking to see how I can search within a field using the value of another field as the search parameter. Also, if that is not possible, extracting the data between the <> and putting it into another field to compare off of that field might work. Thank you for your time and attention to this matter.
... View more