<?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: XQL Query DNS resolutions in Cortex XDR Discussions</title>
    <link>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/xql-query-dns-resolutions/m-p/522819#M3199</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/24508"&gt;@NathanBradley&lt;/a&gt;&amp;nbsp;does it work with any one of the alter statements? You can add one alter statement at a time to determine if something is amiss.&amp;nbsp;&lt;BR /&gt;I would also add the following line '| limit 10' and progressively increase the number to determine what is working.&lt;BR /&gt;&lt;BR /&gt;I ran the exact query that you shared and it works just fine.&lt;/P&gt;</description>
    <pubDate>Wed, 30 Nov 2022 06:36:37 GMT</pubDate>
    <dc:creator>bbarmanroy</dc:creator>
    <dc:date>2022-11-30T06:36:37Z</dc:date>
    <item>
      <title>XQL Query DNS resolutions</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/xql-query-dns-resolutions/m-p/522751#M3197</link>
      <description>&lt;P&gt;I'm attempting to pull out the name, type, and value from the dns_resolutions data&lt;/P&gt;
&lt;P&gt;The below query results in "FAILED TO RUN QUERY" with no data, removing the alters does return data however no fields available return "value" in the dns_resolutions&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any help would be appreciated&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;preset= network_story &lt;BR /&gt;| filter (dns_query_name != null) &lt;BR /&gt;| arrayexpand dns_resolutions&lt;/P&gt;
&lt;P&gt;| alter DNS_Expand_Name=json_extract(dns_resolutions, "$.name")&lt;BR /&gt;| alter DNS_Expand_Type=json_extract(dns_resolutions, "$.type")&lt;/P&gt;
&lt;P&gt;| alter DNS_Expand_Value=json_extract(dns_resolutions, "$.value")&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;below is an example of the expanded view of dns_resolutions&lt;/P&gt;
&lt;DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;"name"&lt;/SPAN&gt;&lt;SPAN&gt;:&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;A href="http://www.navistechnologies.com" target="_blank"&gt;www.navistechnologies.com&lt;/A&gt;"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;"type"&lt;/SPAN&gt;&lt;SPAN&gt;:&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;"A"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;"value"&lt;/SPAN&gt;&lt;SPAN&gt;:&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;"199.125.15.90"&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Tue, 29 Nov 2022 16:02:25 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/xql-query-dns-resolutions/m-p/522751#M3197</guid>
      <dc:creator>NathanBradley</dc:creator>
      <dc:date>2022-11-29T16:02:25Z</dc:date>
    </item>
    <item>
      <title>Re: XQL Query DNS resolutions</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/xql-query-dns-resolutions/m-p/522819#M3199</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/24508"&gt;@NathanBradley&lt;/a&gt;&amp;nbsp;does it work with any one of the alter statements? You can add one alter statement at a time to determine if something is amiss.&amp;nbsp;&lt;BR /&gt;I would also add the following line '| limit 10' and progressively increase the number to determine what is working.&lt;BR /&gt;&lt;BR /&gt;I ran the exact query that you shared and it works just fine.&lt;/P&gt;</description>
      <pubDate>Wed, 30 Nov 2022 06:36:37 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/xql-query-dns-resolutions/m-p/522819#M3199</guid>
      <dc:creator>bbarmanroy</dc:creator>
      <dc:date>2022-11-30T06:36:37Z</dc:date>
    </item>
    <item>
      <title>Re: XQL Query DNS resolutions</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/xql-query-dns-resolutions/m-p/522880#M3203</link>
      <description>&lt;P&gt;Same results when i add a single alter.&lt;/P&gt;
&lt;P&gt;Also,same failed to run result if i change to dataset=xdr_data&lt;/P&gt;</description>
      <pubDate>Wed, 30 Nov 2022 15:16:30 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/xql-query-dns-resolutions/m-p/522880#M3203</guid>
      <dc:creator>NathanBradley</dc:creator>
      <dc:date>2022-11-30T15:16:30Z</dc:date>
    </item>
  </channel>
</rss>

