<?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 Creating a stacked bar chart using XQL in Cortex XDR Discussions</title>
    <link>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/creating-a-stacked-bar-chart-using-xql/m-p/1220568#M7891</link>
    <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am creating a stacked bar chart that shows the number of alerts per data source per day.&lt;BR /&gt;Is it possible to display the data source in the displayed graph?&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;The stacked bar I created shows the time.&lt;BR /&gt;※&lt;SPAN&gt;Whatever I select for the X-axis will be displayed in a stacked graph.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;BR /&gt;A reference image is attached.&amp;nbsp;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;LI-PRODUCT title="Cortex XDR" id="Cortex_XDR"&gt;&lt;/LI-PRODUCT&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 15 Feb 2025 13:30:04 GMT</pubDate>
    <dc:creator>Hisashi_Abe</dc:creator>
    <dc:date>2025-02-15T13:30:04Z</dc:date>
    <item>
      <title>Creating a stacked bar chart using XQL</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/creating-a-stacked-bar-chart-using-xql/m-p/1220568#M7891</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am creating a stacked bar chart that shows the number of alerts per data source per day.&lt;BR /&gt;Is it possible to display the data source in the displayed graph?&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;The stacked bar I created shows the time.&lt;BR /&gt;※&lt;SPAN&gt;Whatever I select for the X-axis will be displayed in a stacked graph.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;BR /&gt;A reference image is attached.&amp;nbsp;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;LI-PRODUCT title="Cortex XDR" id="Cortex_XDR"&gt;&lt;/LI-PRODUCT&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 15 Feb 2025 13:30:04 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/creating-a-stacked-bar-chart-using-xql/m-p/1220568#M7891</guid>
      <dc:creator>Hisashi_Abe</dc:creator>
      <dc:date>2025-02-15T13:30:04Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a stacked bar chart using XQL</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/creating-a-stacked-bar-chart-using-xql/m-p/1220949#M7930</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/193463"&gt;@Hisashi_Abe&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thanks for reaching out on LiveCommunity!&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Can you please run below query and let me know if you are looking for the provided result.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;dataset = alerts | fields _time , alert_source , alert_name &lt;BR /&gt;|bin _time span = 1d&lt;BR /&gt;|comp count(alert_name ) as alert_count by alert_source , _time&lt;BR /&gt;|sort desc _time&lt;BR /&gt;| view graph type = column subtype = grouped xaxis = alert_source yaxis = alert_count &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;If you feel this has answered your query, please let us know by clicking on "mark this as a Solution". Thank you.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Feb 2025 15:45:30 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/creating-a-stacked-bar-chart-using-xql/m-p/1220949#M7930</guid>
      <dc:creator>aspatil</dc:creator>
      <dc:date>2025-02-19T15:45:30Z</dc:date>
    </item>
  </channel>
</rss>

