<?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 XSIAM XQL Query help needed in Cortex XSIAM Discussions</title>
    <link>https://live.paloaltonetworks.com/t5/cortex-xsiam-discussions/xsiam-xql-query-help-needed/m-p/1237088#M245</link>
    <description>&lt;P&gt;Hi All,&lt;/P&gt;
&lt;P&gt;So i need some xql query help please..&lt;/P&gt;
&lt;P&gt;Example : I have 2 datasets in xsiam, one called 'xdr_data', and another called 'ioc', &lt;BR /&gt;In my 'ioc' dataset I have a field called 'indicator' with different values ie 4.4.4.4; 1.2.3.4 for example.. these we auto populate when we find iocs ie ips, hashes, url etc etc..&lt;/P&gt;
&lt;P&gt;My plan is to run a correlation rule in realtime that will scan all incoming data in xdr_data and possibly other datasets, and 'match' it to any of these indicator fields.. and if a match is found to generate an alert.&lt;/P&gt;
&lt;P&gt;So my question is how would i write the query do to this using multiple datasets and would imagine this would utilize the join statement etc.&lt;/P&gt;
&lt;P&gt;note this xsiam tenant does not have a TIM license. else would have been easy &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;thanks in advance&lt;/P&gt;</description>
    <pubDate>Tue, 02 Sep 2025 07:55:41 GMT</pubDate>
    <dc:creator>PA_nts</dc:creator>
    <dc:date>2025-09-02T07:55:41Z</dc:date>
    <item>
      <title>XSIAM XQL Query help needed</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xsiam-discussions/xsiam-xql-query-help-needed/m-p/1237088#M245</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;
&lt;P&gt;So i need some xql query help please..&lt;/P&gt;
&lt;P&gt;Example : I have 2 datasets in xsiam, one called 'xdr_data', and another called 'ioc', &lt;BR /&gt;In my 'ioc' dataset I have a field called 'indicator' with different values ie 4.4.4.4; 1.2.3.4 for example.. these we auto populate when we find iocs ie ips, hashes, url etc etc..&lt;/P&gt;
&lt;P&gt;My plan is to run a correlation rule in realtime that will scan all incoming data in xdr_data and possibly other datasets, and 'match' it to any of these indicator fields.. and if a match is found to generate an alert.&lt;/P&gt;
&lt;P&gt;So my question is how would i write the query do to this using multiple datasets and would imagine this would utilize the join statement etc.&lt;/P&gt;
&lt;P&gt;note this xsiam tenant does not have a TIM license. else would have been easy &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;thanks in advance&lt;/P&gt;</description>
      <pubDate>Tue, 02 Sep 2025 07:55:41 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xsiam-discussions/xsiam-xql-query-help-needed/m-p/1237088#M245</guid>
      <dc:creator>PA_nts</dc:creator>
      <dc:date>2025-09-02T07:55:41Z</dc:date>
    </item>
    <item>
      <title>Re: XSIAM XQL Query help needed</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xsiam-discussions/xsiam-xql-query-help-needed/m-p/1237270#M246</link>
      <description>&lt;P&gt;ok so update on this..&amp;nbsp;&lt;/P&gt;
&lt;P&gt;xql query below seems to work.. needs more work but as a start it will check any values in field 'indicator' on dataset 'IOC' and if a match is found in dataset 'xdr_data' would output, then can use a scheduled correlation rule to look for indicators and generate alerts etc&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;dataset = xdr_data&lt;BR /&gt;| filter dest_ip in (dataset = ioc | fields indicator)&lt;BR /&gt;| dedup dest_ip, source_ip&lt;BR /&gt;| fields _time, source_ip, dest_ip, app, action&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;if ever you build on this.. please add in this chat your additions if you can.&lt;/P&gt;
&lt;P&gt;appreciated&lt;/P&gt;</description>
      <pubDate>Thu, 04 Sep 2025 06:39:23 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xsiam-discussions/xsiam-xql-query-help-needed/m-p/1237270#M246</guid>
      <dc:creator>PA_nts</dc:creator>
      <dc:date>2025-09-04T06:39:23Z</dc:date>
    </item>
  </channel>
</rss>

