that did not work .. can only see Name and RecordID fields... version is populated because it's able to see that name in the original serv1 .. version1 is null. To test the above I modified your reply to following index=test (service=serv1 OR service=serv2)
| eval version2 = if(service=serv2, version, null())
| eval version1 = if(service=serv1, version, null())
| stats values(*) as * by RecordID
| table Name RecordID version1 version2 and now both version1 and version2 is empty.. also tried this with same results as above index=test (service=serv1 OR service=serv2)
| eval version2 = case(service=serv2, version)
| eval version1 = case(service=serv1, version)
| stats values(*) as * by RecordID
| table Name RecordID version1 version2 Just to highlight.. End result I want is only values from Serv1, where there is a matching RecordID in the Serv2.. The whole point of this exercise is I want to replace all values of version in the Serv1 with version values from Serv2 where there is a matching RecordID and discard the rest. Serv1 is major data source and Serv2 is minor.
... View more