<?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 Lookups to compare the difference in Cortex XSIAM Discussions</title>
    <link>https://live.paloaltonetworks.com/t5/cortex-xsiam-discussions/lookups-to-compare-the-difference/m-p/599949#M78</link>
    <description>&lt;P&gt;I am trying to find clients missing software, I found all the clients WITH the software, dumped them into a a lookup and now trying to find the difference, basically return the ones NOT in the lookup,&lt;BR /&gt;So something like this:&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;dataset = host_inventory&lt;BR /&gt;| filter applications != null&lt;BR /&gt;| arrayexpand applications&lt;BR /&gt;| alter applicationname=json_extract(applications, "$.application_name")&lt;BR /&gt;| alter applicationversion=json_extract(applications, "$.version")&lt;BR /&gt;| alter appvendor=json_extract(applications, "$.vendor")&lt;BR /&gt;| alter installdate=json_extract(applications, "$.install_date")&lt;BR /&gt;| join (dataset = UmbrellaHosts) as UH UH.hostname = host_name &lt;BR /&gt;|filter agent_type = "AGENT_TYPE_WORKSTATION"&lt;BR /&gt;|filter host_name != hostname&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;UH.hostname is the hosts from the lookup, and just doing a not equal returns nothing.&lt;BR /&gt;&lt;BR /&gt;In splunk I could do it like this:&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;index=abc sourcetype=xyz NOT [| inputlookup data.csv | fields ccid]&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;BR /&gt;Appreciate it if someone has any idea how to pull this off?&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 09 Oct 2024 20:22:00 GMT</pubDate>
    <dc:creator>D.Demarest</dc:creator>
    <dc:date>2024-10-09T20:22:00Z</dc:date>
    <item>
      <title>Lookups to compare the difference</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xsiam-discussions/lookups-to-compare-the-difference/m-p/599949#M78</link>
      <description>&lt;P&gt;I am trying to find clients missing software, I found all the clients WITH the software, dumped them into a a lookup and now trying to find the difference, basically return the ones NOT in the lookup,&lt;BR /&gt;So something like this:&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;dataset = host_inventory&lt;BR /&gt;| filter applications != null&lt;BR /&gt;| arrayexpand applications&lt;BR /&gt;| alter applicationname=json_extract(applications, "$.application_name")&lt;BR /&gt;| alter applicationversion=json_extract(applications, "$.version")&lt;BR /&gt;| alter appvendor=json_extract(applications, "$.vendor")&lt;BR /&gt;| alter installdate=json_extract(applications, "$.install_date")&lt;BR /&gt;| join (dataset = UmbrellaHosts) as UH UH.hostname = host_name &lt;BR /&gt;|filter agent_type = "AGENT_TYPE_WORKSTATION"&lt;BR /&gt;|filter host_name != hostname&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;UH.hostname is the hosts from the lookup, and just doing a not equal returns nothing.&lt;BR /&gt;&lt;BR /&gt;In splunk I could do it like this:&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;index=abc sourcetype=xyz NOT [| inputlookup data.csv | fields ccid]&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;BR /&gt;Appreciate it if someone has any idea how to pull this off?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 09 Oct 2024 20:22:00 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xsiam-discussions/lookups-to-compare-the-difference/m-p/599949#M78</guid>
      <dc:creator>D.Demarest</dc:creator>
      <dc:date>2024-10-09T20:22:00Z</dc:date>
    </item>
  </channel>
</rss>

