This can be achieved by the following search:
source="set1.log" | JOIN type=left MAC [search source="set2.log" | eval x=1] | Where NOT x=1
Explanation:
the subsearch will find events in set2.log and add a new field, x=1 to the event. (that is for D, E, F, G, the field x=1 will be associated to the events)
Then, were doing a LEFT JOIN, on the field MAC (which will return A B C D) , but we are leaving out those events for which x=1 (hence we are leaving out D).
The final result then becomes: A, B and C, that is, set1 - set2
... View more