<?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 between 2 dates in Cortex XDR Discussions</title>
    <link>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/xql-query-between-2-dates/m-p/541989#M4329</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I want to query a specific number of events between 2 dates.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have this query below, but it is missing the "between current_date and last 5 minutes"&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;dataset = fortinet_fortiauthenticator_vm_raw | filter deviceSeverity != "information" | filter deviceSeverity != "notice" | filter deviceSeverity = "warning"
| comp count(msg) as counter
| filter counter &amp;gt; 5&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Could you help pls&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 12 May 2023 11:22:07 GMT</pubDate>
    <dc:creator>FabioFerreira</dc:creator>
    <dc:date>2023-05-12T11:22:07Z</dc:date>
    <item>
      <title>XQL query between 2 dates</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/xql-query-between-2-dates/m-p/541989#M4329</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I want to query a specific number of events between 2 dates.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have this query below, but it is missing the "between current_date and last 5 minutes"&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;dataset = fortinet_fortiauthenticator_vm_raw | filter deviceSeverity != "information" | filter deviceSeverity != "notice" | filter deviceSeverity = "warning"
| comp count(msg) as counter
| filter counter &amp;gt; 5&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Could you help pls&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 12 May 2023 11:22:07 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/xql-query-between-2-dates/m-p/541989#M4329</guid>
      <dc:creator>FabioFerreira</dc:creator>
      <dc:date>2023-05-12T11:22:07Z</dc:date>
    </item>
    <item>
      <title>Re: XQL query between 2 dates</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/xql-query-between-2-dates/m-p/542004#M4332</link>
      <description>&lt;P&gt;FabioFerreira,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can use the&amp;nbsp;&lt;A href="https://docs-cortex.paloaltonetworks.com/r/Cortex-XDR/Cortex-XDR-XQL-Language-Reference/timeframe" target="_self"&gt;config&lt;/A&gt;&amp;nbsp;stage command to specify a timeframe like so...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;config timeframe = 5m
| dataset = fortinet_fortiauthenticator_vm_raw | filter deviceSeverity != "information" | filter deviceSeverity != "notice" | filter deviceSeverity = "warning"
| comp count(msg) as counter
| filter counter &amp;gt; 5&lt;/LI-CODE&gt;</description>
      <pubDate>Fri, 12 May 2023 14:00:09 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/xql-query-between-2-dates/m-p/542004#M4332</guid>
      <dc:creator>afurze</dc:creator>
      <dc:date>2023-05-12T14:00:09Z</dc:date>
    </item>
    <item>
      <title>Re: XQL query between 2 dates</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/xql-query-between-2-dates/m-p/577489#M6078</link>
      <description>&lt;P&gt;Hi everyone,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I need your help. I wanna create new rule about FW action. Actually my new rules purpose is If there are a lot of FW action drop and next FW allow in 5 minutes. But I dont know how can i create this. In the below just L2L drop logs .&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;|dataset = panw_ngfw_traffic_raw &lt;BR /&gt;|filter source_ip incidr "172.16.0.0/12" or source_ip incidr "192.168.0.0/16" or source_ip incidr "10.0.0.0/8"&lt;BR /&gt;|filter dest_ip incidr "172.16.0.0/12" or dest_ip incidr "192.168.0.0/16" or dest_ip incidr "10.0.0.0/8"&lt;BR /&gt;|comp count(action ) as action_count by source_ip,action,dest_ip&lt;BR /&gt;|dedup source_ip &lt;BR /&gt;|filter action_count &amp;gt; 1000 and action ="drop"&lt;/P&gt;</description>
      <pubDate>Fri, 16 Feb 2024 10:40:08 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/xql-query-between-2-dates/m-p/577489#M6078</guid>
      <dc:creator>kadirerol</dc:creator>
      <dc:date>2024-02-16T10:40:08Z</dc:date>
    </item>
  </channel>
</rss>

