Hi All, I need to filter my search based on the condition if the values of 2 fields are equal or not. The 2 fields in question are actor.alernateID and src_user_email and both fields are visible in the same event. For example: Raw data shows value of actor.alternateID is
[email protected] neerajs_81_0-1648619765791.png Likewise, Raw data shows value or src_user_email is also same:
[email protected] neerajs_81_1-1648619923583.png If i run the following search, the value of the field match comes out to be "No match" . Why is eval showing them to be not a match if both field values are the same ? index=xxx sourcetype=xxxx
....
| eval match=if(actor.alternateId=src_user_email,"Match","No Match") neerajs_81_3-1648620163158.png Likewise, instead if i use the where condition instead of eval , this shows NO results to display; meaning even the where clause thinks both fields are different . |where src_user_email = actor.alternateID The same is happening for other email IDs and other fields even though their values are same. What am i doing wrong here? How to compare fields then? Both are strings.
... View more