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!

Now Available: Cisco Talos Threat Intelligence Integrations for Splunk Security Cloud ...

At .conf24, we shared that we were in the process of integrating Cisco Talos threat intelligence into Splunk ...

Preparing your Splunk Environment for OpenSSL3

The Splunk platform will transition to OpenSSL version 3 in a future release. Actions are required to prepare ...

Easily Improve Agent Saturation with the Splunk Add-on for OpenTelemetry Collector

Agent Saturation What and Whys In application performance monitoring, saturation is defined as the total load ...