<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Using Enterprise Security Identity Lookup Fields In SPL Query in Security</title>
    <link>https://community.splunk.com/t5/Security/Using-Enterprise-Security-Identity-Lookup-Fields-In-SPL-Query/m-p/547049#M12184</link>
    <description>&lt;DIV&gt;&lt;SPAN&gt;Hi Scelikok,&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Thank you for the response. Not sure what I might be doing wrong here… but when I try this, it throws an error:&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Streamed search execute failed because: Error in 'lookup' command: Could not construct lookup ‘my_identity_lookup, identity, AS, user, OUTPUT, priority'. See search.log for more details..&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I tied this, which produces results&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="lia-indent-padding-left-30px"&gt;| inputlookup my_identity_lookup | where identity=“xxx.yyy"&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Then tried this, which does NOT produce results&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="lia-indent-padding-left-30px"&gt;| lookup my_identity_lookup identity AS “xxx.yyy" OUTPUT priority&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Thoughts on what I'm doing wrong here?&lt;/DIV&gt;</description>
    <pubDate>Wed, 07 Apr 2021 14:37:39 GMT</pubDate>
    <dc:creator>cbschreiber</dc:creator>
    <dc:date>2021-04-07T14:37:39Z</dc:date>
    <item>
      <title>Using Enterprise Security Identity Lookup Fields In SPL Query</title>
      <link>https://community.splunk.com/t5/Security/Using-Enterprise-Security-Identity-Lookup-Fields-In-SPL-Query/m-p/546919#M12180</link>
      <description>&lt;P&gt;I have a really simple query that I'd like to join with Enterprise Security's Identity inputlookup and grab a field from there.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is the simple SPL:&lt;/P&gt;&lt;P&gt;index=pan sourcetype="pan:system" log_subtype=globalprotect description IN ("GlobalProtect gateway client configuration generated*")&lt;BR /&gt;| table _time user&lt;/P&gt;&lt;P&gt;Trying to use a join to grab the data:&lt;/P&gt;&lt;P&gt;index=pan sourcetype="pan:system" log_subtype=globalprotect description IN ("GlobalProtect gateway client configuration generated*")&lt;BR /&gt;| join type=left overwrite=true user&lt;BR /&gt;[ |inputlookup my_identity_lookup | search identity=user | fields priority ]&lt;BR /&gt;| table _time user priority&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But the priority field returns blank. Would appreciate any help fixing this!&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;</description>
      <pubDate>Tue, 06 Apr 2021 19:00:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Using-Enterprise-Security-Identity-Lookup-Fields-In-SPL-Query/m-p/546919#M12180</guid>
      <dc:creator>cbschreiber</dc:creator>
      <dc:date>2021-04-06T19:00:38Z</dc:date>
    </item>
    <item>
      <title>Re: Using Enterprise Security Identity Lookup Fields In SPL Query</title>
      <link>https://community.splunk.com/t5/Security/Using-Enterprise-Security-Identity-Lookup-Fields-In-SPL-Query/m-p/546955#M12181</link>
      <description>&lt;P&gt;you are joining on 'user' but you don't return user in the subsearch, only priority. Change to&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| fields user priority&lt;/LI-CODE&gt;</description>
      <pubDate>Wed, 07 Apr 2021 01:43:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Using-Enterprise-Security-Identity-Lookup-Fields-In-SPL-Query/m-p/546955#M12181</guid>
      <dc:creator>bowesmana</dc:creator>
      <dc:date>2021-04-07T01:43:07Z</dc:date>
    </item>
    <item>
      <title>Re: Using Enterprise Security Identity Lookup Fields In SPL Query</title>
      <link>https://community.splunk.com/t5/Security/Using-Enterprise-Security-Identity-Lookup-Fields-In-SPL-Query/m-p/546989#M12182</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/62246"&gt;@cbschreiber&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;You can use lookup command without join and subsearch;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=pan sourcetype="pan:system" log_subtype=globalprotect description IN ("GlobalProtect gateway client configuration generated*")
| lookup my_identity_lookup identity AS user OUTPUT priority 
| table _time user priority&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Apr 2021 09:09:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Using-Enterprise-Security-Identity-Lookup-Fields-In-SPL-Query/m-p/546989#M12182</guid>
      <dc:creator>scelikok</dc:creator>
      <dc:date>2021-04-07T09:09:45Z</dc:date>
    </item>
    <item>
      <title>Re: Using Enterprise Security Identity Lookup Fields In SPL Query</title>
      <link>https://community.splunk.com/t5/Security/Using-Enterprise-Security-Identity-Lookup-Fields-In-SPL-Query/m-p/547039#M12183</link>
      <description>&lt;P&gt;Hi Bowesmana,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried this but it did not help. Thank you for chiming in.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Apr 2021 14:10:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Using-Enterprise-Security-Identity-Lookup-Fields-In-SPL-Query/m-p/547039#M12183</guid>
      <dc:creator>cbschreiber</dc:creator>
      <dc:date>2021-04-07T14:10:36Z</dc:date>
    </item>
    <item>
      <title>Re: Using Enterprise Security Identity Lookup Fields In SPL Query</title>
      <link>https://community.splunk.com/t5/Security/Using-Enterprise-Security-Identity-Lookup-Fields-In-SPL-Query/m-p/547049#M12184</link>
      <description>&lt;DIV&gt;&lt;SPAN&gt;Hi Scelikok,&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Thank you for the response. Not sure what I might be doing wrong here… but when I try this, it throws an error:&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Streamed search execute failed because: Error in 'lookup' command: Could not construct lookup ‘my_identity_lookup, identity, AS, user, OUTPUT, priority'. See search.log for more details..&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I tied this, which produces results&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="lia-indent-padding-left-30px"&gt;| inputlookup my_identity_lookup | where identity=“xxx.yyy"&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Then tried this, which does NOT produce results&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="lia-indent-padding-left-30px"&gt;| lookup my_identity_lookup identity AS “xxx.yyy" OUTPUT priority&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Thoughts on what I'm doing wrong here?&lt;/DIV&gt;</description>
      <pubDate>Wed, 07 Apr 2021 14:37:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Using-Enterprise-Security-Identity-Lookup-Fields-In-SPL-Query/m-p/547049#M12184</guid>
      <dc:creator>cbschreiber</dc:creator>
      <dc:date>2021-04-07T14:37:39Z</dc:date>
    </item>
    <item>
      <title>Re: Using Enterprise Security Identity Lookup Fields In SPL Query</title>
      <link>https://community.splunk.com/t5/Security/Using-Enterprise-Security-Identity-Lookup-Fields-In-SPL-Query/m-p/547052#M12185</link>
      <description>&lt;P&gt;You must use fieldname after AS. Your base search Please try below;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| lookup my_identity_lookup identity AS user OUTPUT priority&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Apr 2021 14:49:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Using-Enterprise-Security-Identity-Lookup-Fields-In-SPL-Query/m-p/547052#M12185</guid>
      <dc:creator>scelikok</dc:creator>
      <dc:date>2021-04-07T14:49:51Z</dc:date>
    </item>
    <item>
      <title>Re: Using Enterprise Security Identity Lookup Fields In SPL Query</title>
      <link>https://community.splunk.com/t5/Security/Using-Enterprise-Security-Identity-Lookup-Fields-In-SPL-Query/m-p/547055#M12186</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Understood. When I try that it throws the error:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Streamed search execute failed because: Error in 'lookup' command: Could not construct lookup 'my_identity_lookup, identity, AS, user, OUTPUT, priority'. See search.log for more details..&lt;BR /&gt;&lt;BR /&gt;SPL is&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;index=pan sourcetype="pan:system" log_subtype=globalprotect description IN ("GlobalProtect gateway client configuration generated*")&lt;BR /&gt;| lookup my_identity_lookup identity AS user OUTPUT priority&lt;BR /&gt;| table _time user priority&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Apr 2021 15:00:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Using-Enterprise-Security-Identity-Lookup-Fields-In-SPL-Query/m-p/547055#M12186</guid>
      <dc:creator>cbschreiber</dc:creator>
      <dc:date>2021-04-07T15:00:11Z</dc:date>
    </item>
  </channel>
</rss>

