Splunk Enterprise Security

entitymerge for identity_lookup_expanded doesn't produce any results

gabriel_vasseur
Contributor

This is the search that merges identities, according to the search preview:

| inputlookup append=T "administrative_identity_lookup" 
| fillnull value="administrative_identities" _source 
| inputlookup append=T "simple_identity_lookup" 
| fillnull value="static_identities" _source 
| eval identity=split(identity, "|"),identity=if(_source=="administrative_identities", mvappend(identity,email,replace(email,"@.*","")), identity),identity=if(_source=="static_identities", mvappend(identity,email,replace(email,"@.*","")), identity),identity=mvjoin(mvdedup(identity), "|") 
| table "_source","bunit","category","email","endDate","first","last","managedBy","nick","phone","prefix","priority","startDate","suffix","watchlist","work_city","work_country","work_lat","work_long","identity" 
| eval `iden_mktime_meval(startDate)`,`iden_mktime_meval(endDate)`,identity=mvsort(identity) 
| sort 0 +identity 
| inputlookup append=T "identity_lookup_expanded" 
| entitymerge "identity"

 

If identity_lookup_expanded is empty (because I've flushed it), it produces results. If I pipe these results into an "outputlookup identity_lookup_expanded" it is populating identity_lookup_expanded ok (except all text is lowercase, but see my other question regarding that). Now if I run the above search again, it returns no results. It's ok until it hist entitymerge.

What does this mean?

Labels (2)
0 Karma

scelikok
SplunkTrust
SplunkTrust

Hİ @gabriel_vasseur,

entitymerge command is supposed to add only new identities to prevent duplicates. That is why it is normal.

If this reply helps you an upvote and "Accept as Solution" is appreciated.
0 Karma

gabriel_vasseur
Contributor

According to https://docs.splunk.com/Documentation/ES/6.5.0/Admin/Searchpreview

"The results are the delta since the last merge. If nothing has changed in the source files since the last merge, you do not see any output."

That answers my question. This behaviour is really weird and unexpected! :-$

0 Karma
Get Updates on the Splunk Community!

Modern way of developing distributed application using OTel

Recently, I had the opportunity to work on a complex microservice using Spring boot and Quarkus to develop a ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had 3 releases of new security content via the Enterprise Security ...

Archived Metrics Now Available for APAC and EMEA realms

We’re excited to announce the launch of Archived Metrics in Splunk Infrastructure Monitoring for our customers ...