<?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 Alerting when Daily Ingestion Threshold reaches 80% in Cortex XSIAM Discussions</title>
    <link>https://live.paloaltonetworks.com/t5/cortex-xsiam-discussions/alerting-when-daily-ingestion-threshold-reaches-80/m-p/1233133#M220</link>
    <description>&lt;P&gt;Just wanted to share this with everyone - i am sure it might be useful if not already deployed. Feel free to comment on possible enhancements/ recommendations.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The Query below will calculate the daily ingestion per GB and will output 'TRUE' if it exceeds 80% of daily ingestion.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;dataset = metrics_source &lt;BR /&gt;| comp sum(total_size_bytes ) as total_ingestion_gb&lt;BR /&gt;| alter total_ingested_gb = divide(round(multiply(divide(total_ingestion_gb, pow(to_number(1024), to_number(3))), 100)), 100)&lt;BR /&gt;| alter is_exceeding_80_percent = if(total_ingested_gb &amp;lt;XX&amp;gt;, "TRUE", "FALSE") &lt;BR /&gt;| fields total_ingested_gb, is_exceeding_80_percent &lt;BR /&gt;| filter is_exceeding_80_percent = "TRUE"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;(just replace &amp;lt;XX&amp;gt; with your 80% value in GB)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In the above example, if Daily ingestion is above &amp;lt;XX&amp;gt;GB per day, it should output as TRUE.&lt;/P&gt;
&lt;P&gt;Then create a correlation rule that runs once a day if if exceeded,&amp;nbsp; will generate an Alert if TRUE.&lt;/P&gt;
&lt;P&gt;Then set a Trigger condition/automation to notify (in my case via email) the persons responsible.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;tested seems to work&lt;/P&gt;
&lt;P&gt;rgds&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 03 Jul 2025 11:06:32 GMT</pubDate>
    <dc:creator>PA_nts</dc:creator>
    <dc:date>2025-07-03T11:06:32Z</dc:date>
    <item>
      <title>Alerting when Daily Ingestion Threshold reaches 80%</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xsiam-discussions/alerting-when-daily-ingestion-threshold-reaches-80/m-p/1233133#M220</link>
      <description>&lt;P&gt;Just wanted to share this with everyone - i am sure it might be useful if not already deployed. Feel free to comment on possible enhancements/ recommendations.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The Query below will calculate the daily ingestion per GB and will output 'TRUE' if it exceeds 80% of daily ingestion.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;dataset = metrics_source &lt;BR /&gt;| comp sum(total_size_bytes ) as total_ingestion_gb&lt;BR /&gt;| alter total_ingested_gb = divide(round(multiply(divide(total_ingestion_gb, pow(to_number(1024), to_number(3))), 100)), 100)&lt;BR /&gt;| alter is_exceeding_80_percent = if(total_ingested_gb &amp;lt;XX&amp;gt;, "TRUE", "FALSE") &lt;BR /&gt;| fields total_ingested_gb, is_exceeding_80_percent &lt;BR /&gt;| filter is_exceeding_80_percent = "TRUE"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;(just replace &amp;lt;XX&amp;gt; with your 80% value in GB)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In the above example, if Daily ingestion is above &amp;lt;XX&amp;gt;GB per day, it should output as TRUE.&lt;/P&gt;
&lt;P&gt;Then create a correlation rule that runs once a day if if exceeded,&amp;nbsp; will generate an Alert if TRUE.&lt;/P&gt;
&lt;P&gt;Then set a Trigger condition/automation to notify (in my case via email) the persons responsible.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;tested seems to work&lt;/P&gt;
&lt;P&gt;rgds&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Jul 2025 11:06:32 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xsiam-discussions/alerting-when-daily-ingestion-threshold-reaches-80/m-p/1233133#M220</guid>
      <dc:creator>PA_nts</dc:creator>
      <dc:date>2025-07-03T11:06:32Z</dc:date>
    </item>
  </channel>
</rss>

