<?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 XQL Query help is required to narrow down our requirement in Cortex XDR Discussions</title>
    <link>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/xql-query-help-is-required-to-narrow-down-our-requirement/m-p/524037#M3255</link>
    <description>&lt;P&gt;Dear All,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We are trying to understand that, there are certain applications installed on a host by using the below query.&amp;nbsp;&lt;SPAN&gt;preset = host_inventory_applications&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;|filter endpoint_type = "AGENT_TYPE_WORKSTATION"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;|filter application_name in("Application A","application B", "Application C")&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;| comp latest(report_timestamp) by endpoint_name, application_name&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;| dedup endpoint_name, application_name&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;| sort asc endpoint_name&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;| fields endpoint_name, application_name&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;By running the above query, the result is that, we are getting hostname, application name etc, but we would like to get the result like the below.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Host Name, Applicatioin A, Application B etc, instead of duplicate entries of host with different applications.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 14 Dec 2022 02:14:36 GMT</pubDate>
    <dc:creator>VenuK</dc:creator>
    <dc:date>2022-12-14T02:14:36Z</dc:date>
    <item>
      <title>XQL Query help is required to narrow down our requirement</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/xql-query-help-is-required-to-narrow-down-our-requirement/m-p/524037#M3255</link>
      <description>&lt;P&gt;Dear All,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We are trying to understand that, there are certain applications installed on a host by using the below query.&amp;nbsp;&lt;SPAN&gt;preset = host_inventory_applications&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;|filter endpoint_type = "AGENT_TYPE_WORKSTATION"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;|filter application_name in("Application A","application B", "Application C")&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;| comp latest(report_timestamp) by endpoint_name, application_name&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;| dedup endpoint_name, application_name&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;| sort asc endpoint_name&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;| fields endpoint_name, application_name&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;By running the above query, the result is that, we are getting hostname, application name etc, but we would like to get the result like the below.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Host Name, Applicatioin A, Application B etc, instead of duplicate entries of host with different applications.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 14 Dec 2022 02:14:36 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/xql-query-help-is-required-to-narrow-down-our-requirement/m-p/524037#M3255</guid>
      <dc:creator>VenuK</dc:creator>
      <dc:date>2022-12-14T02:14:36Z</dc:date>
    </item>
    <item>
      <title>Re: XQL Query help is required to narrow down our requirement</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/xql-query-help-is-required-to-narrow-down-our-requirement/m-p/524038#M3256</link>
      <description>&lt;P&gt;Hi VenuK,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Try using the values function in the comp stage like in the example below. This will give you a field for each endpoint with an array of the applications&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;preset = host_inventory_applications &lt;BR /&gt;|filter endpoint_type = AGENT_TYPE_WORKSTATION &lt;BR /&gt;|filter application_name in("Application A","application B", "Application C")&lt;BR /&gt;|comp values(application_name) as installed_applications by endpoint_name &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;BR /&gt;Ben&lt;/P&gt;</description>
      <pubDate>Wed, 14 Dec 2022 02:45:15 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/xql-query-help-is-required-to-narrow-down-our-requirement/m-p/524038#M3256</guid>
      <dc:creator>bbucao</dc:creator>
      <dc:date>2022-12-14T02:45:15Z</dc:date>
    </item>
    <item>
      <title>Re: XQL Query help is required to narrow down our requirement</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/xql-query-help-is-required-to-narrow-down-our-requirement/m-p/524039#M3257</link>
      <description>&lt;P&gt;You are really awesome&amp;nbsp;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/205598"&gt;@bbucao&lt;/a&gt;&amp;nbsp;, this works&lt;/P&gt;</description>
      <pubDate>Wed, 14 Dec 2022 02:53:19 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/xql-query-help-is-required-to-narrow-down-our-requirement/m-p/524039#M3257</guid>
      <dc:creator>VenuK</dc:creator>
      <dc:date>2022-12-14T02:53:19Z</dc:date>
    </item>
  </channel>
</rss>

