Trying to create a report using two indexes on same field "Pcname".
Different datatype one of from Active Directory and other one is from SCCM.
Same computer are present in both indexes
see also the attach screen short.
Desire results:
Thanks in advance
Something like this:
index=ad OR index=sccm
| eval pcName=coalesc(pcname_field_in_AD_index, pcname_field_in_SCCM_index)
| eval lastContact=coaslesc(lastContact_field_in_AD_index, lastContact_field_in_SCCM_index)
| fillnull value="missing"
| stats latest(lastContact) as lastContact by pcName index
| eval comments="Logic for missing / over 30 days goes here"
Thanks let me try if this would work