<?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: Need help with count of count using Timechart in Reporting</title>
    <link>https://community.splunk.com/t5/Reporting/Need-help-with-count-of-count-using-Timechart/m-p/627708#M11791</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/253099"&gt;@Prathyusha891&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;in this case you can use the solution from&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/225168"&gt;@ITWhisperer&lt;/a&gt;&amp;nbsp;or:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index= store
| rex field=_raw max_match=0 "sku\W(?P&amp;lt;sku&amp;gt;.*?)\,"
| stats count by _time sku
| timechart sum(count) AS count BY _time&lt;/LI-CODE&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
    <pubDate>Fri, 20 Jan 2023 09:24:41 GMT</pubDate>
    <dc:creator>gcusello</dc:creator>
    <dc:date>2023-01-20T09:24:41Z</dc:date>
    <item>
      <title>Need help with count of count using Timechart</title>
      <link>https://community.splunk.com/t5/Reporting/Need-help-with-count-of-count-using-Timechart/m-p/627687#M11785</link>
      <description>&lt;P&gt;Event 1:&lt;BR /&gt;Product=shirt1 sku=123 sku=234&lt;BR /&gt;&lt;BR /&gt;Event 2:&lt;BR /&gt;Product=shirt2 sku=987 sku=789&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;index= store&lt;/P&gt;&lt;P&gt;| rex field=_raw max_match=0 "sku\W(?P&amp;lt;sku&amp;gt;.*?)\,"&lt;/P&gt;&lt;P&gt;|stats count by _time, sku&lt;BR /&gt;&lt;BR /&gt;o/p:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="208"&gt;&lt;P&gt;_time&lt;/P&gt;&lt;/TD&gt;&lt;TD width="208"&gt;&lt;P&gt;sku&lt;/P&gt;&lt;/TD&gt;&lt;TD width="208"&gt;&lt;P&gt;count&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="208"&gt;&lt;P&gt;01-04-23&lt;/P&gt;&lt;/TD&gt;&lt;TD width="208"&gt;&lt;P&gt;123&lt;/P&gt;&lt;/TD&gt;&lt;TD width="208"&gt;&lt;P&gt;1&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="208"&gt;&lt;P&gt;01-04-23&lt;/P&gt;&lt;/TD&gt;&lt;TD width="208"&gt;&lt;P&gt;234&lt;/P&gt;&lt;/TD&gt;&lt;TD width="208"&gt;&lt;P&gt;1&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="208"&gt;&lt;P&gt;01-04-23&lt;/P&gt;&lt;/TD&gt;&lt;TD width="208"&gt;&lt;P&gt;987&lt;/P&gt;&lt;/TD&gt;&lt;TD width="208"&gt;&lt;P&gt;1&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="208"&gt;&lt;P&gt;01-04-23&lt;/P&gt;&lt;/TD&gt;&lt;TD width="208"&gt;&lt;P&gt;789&lt;/P&gt;&lt;/TD&gt;&lt;TD width="208"&gt;&lt;P&gt;1&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Output I’m looking for&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="312"&gt;&lt;P&gt;_time&lt;/P&gt;&lt;/TD&gt;&lt;TD width="312"&gt;&lt;P&gt;count&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="312"&gt;&lt;P&gt;01-04-23&lt;/P&gt;&lt;/TD&gt;&lt;TD width="312"&gt;&lt;P&gt;4&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;</description>
      <pubDate>Fri, 20 Jan 2023 07:22:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/Need-help-with-count-of-count-using-Timechart/m-p/627687#M11785</guid>
      <dc:creator>Prathyusha891</dc:creator>
      <dc:date>2023-01-20T07:22:40Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with count of count using Timechart</title>
      <link>https://community.splunk.com/t5/Reporting/Need-help-with-count-of-count-using-Timechart/m-p/627689#M11786</link>
      <description>&lt;LI-CODE lang="markup"&gt;index= store

| rex field=_raw max_match=0 "sku\W(?P&amp;lt;sku&amp;gt;.*?)\,"

|stats count by _time, sku

| stats sum(count) as count by _time&lt;/LI-CODE&gt;</description>
      <pubDate>Fri, 20 Jan 2023 07:32:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/Need-help-with-count-of-count-using-Timechart/m-p/627689#M11786</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2023-01-20T07:32:23Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with count of count using Timechart</title>
      <link>https://community.splunk.com/t5/Reporting/Need-help-with-count-of-count-using-Timechart/m-p/627690#M11787</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/253099"&gt;@Prathyusha891&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;please try this:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index= store
| rex field=_raw max_match=0 "sku\W(?P&amp;lt;sku&amp;gt;.*?)\,"
| stats dc(sku) AS sku_count BY _time&lt;/LI-CODE&gt;&lt;P&gt;or&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index= store
| rex field=_raw max_match=0 "sku\W(?P&amp;lt;sku&amp;gt;.*?)\,"
| timechart dc(sku) &lt;/LI-CODE&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Fri, 20 Jan 2023 07:35:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/Need-help-with-count-of-count-using-Timechart/m-p/627690#M11787</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2023-01-20T07:35:25Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with count of count using Timechart</title>
      <link>https://community.splunk.com/t5/Reporting/Need-help-with-count-of-count-using-Timechart/m-p/627700#M11788</link>
      <description>&lt;P&gt;Its giving us the distinct count of sku but not the total count&lt;/P&gt;</description>
      <pubDate>Fri, 20 Jan 2023 08:46:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/Need-help-with-count-of-count-using-Timechart/m-p/627700#M11788</guid>
      <dc:creator>Prathyusha891</dc:creator>
      <dc:date>2023-01-20T08:46:06Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with count of count using Timechart</title>
      <link>https://community.splunk.com/t5/Reporting/Need-help-with-count-of-count-using-Timechart/m-p/627704#M11789</link>
      <description>&lt;P&gt;HI&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/253099"&gt;@Prathyusha891&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;I understood that you wanted to have the distinct count, no problem, you can use sum instead dc:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index= store
| rex field=_raw max_match=0 "sku\W(?P&amp;lt;sku&amp;gt;.*?)\,"
| stats dc(sku) AS sku_count count BY _time&lt;/LI-CODE&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Fri, 20 Jan 2023 09:08:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/Need-help-with-count-of-count-using-Timechart/m-p/627704#M11789</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2023-01-20T09:08:01Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with count of count using Timechart</title>
      <link>https://community.splunk.com/t5/Reporting/Need-help-with-count-of-count-using-Timechart/m-p/627707#M11790</link>
      <description>&lt;P&gt;Sorry. Let me rephrase it for better understanding&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="208"&gt;&lt;P&gt;_time&lt;/P&gt;&lt;/TD&gt;&lt;TD width="208"&gt;&lt;P&gt;sku&lt;/P&gt;&lt;/TD&gt;&lt;TD width="208"&gt;&lt;P&gt;count&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="208"&gt;&lt;P&gt;01-04-23&lt;/P&gt;&lt;/TD&gt;&lt;TD width="208"&gt;&lt;P&gt;123&lt;/P&gt;&lt;/TD&gt;&lt;TD width="208"&gt;&lt;P&gt;1&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="208"&gt;&lt;P&gt;01-04-23&lt;/P&gt;&lt;/TD&gt;&lt;TD width="208"&gt;&lt;P&gt;234&lt;/P&gt;&lt;/TD&gt;&lt;TD width="208"&gt;&lt;P&gt;1&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="208"&gt;&lt;P&gt;01-04-23&lt;/P&gt;&lt;/TD&gt;&lt;TD width="208"&gt;&lt;P&gt;987&lt;/P&gt;&lt;/TD&gt;&lt;TD width="208"&gt;&lt;P&gt;1&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="208"&gt;&lt;P&gt;01-04-23&lt;/P&gt;&lt;/TD&gt;&lt;TD width="208"&gt;&lt;P&gt;789&lt;/P&gt;&lt;/TD&gt;&lt;TD width="208"&gt;&lt;P&gt;3&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;01-04-24&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;678&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;1&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;BR /&gt;O/P I'm looking for -&lt;/P&gt;&lt;TABLE width="416px"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="207.49px"&gt;&lt;P&gt;_time&lt;/P&gt;&lt;/TD&gt;&lt;TD width="207.51px"&gt;&lt;P&gt;count&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="207.49px"&gt;&lt;P&gt;01-04-23&lt;/P&gt;&lt;/TD&gt;&lt;TD width="207.51px"&gt;&lt;P&gt;6&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;01-04-24&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;1&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;</description>
      <pubDate>Fri, 20 Jan 2023 09:21:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/Need-help-with-count-of-count-using-Timechart/m-p/627707#M11790</guid>
      <dc:creator>Prathyusha891</dc:creator>
      <dc:date>2023-01-20T09:21:32Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with count of count using Timechart</title>
      <link>https://community.splunk.com/t5/Reporting/Need-help-with-count-of-count-using-Timechart/m-p/627708#M11791</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/253099"&gt;@Prathyusha891&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;in this case you can use the solution from&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/225168"&gt;@ITWhisperer&lt;/a&gt;&amp;nbsp;or:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index= store
| rex field=_raw max_match=0 "sku\W(?P&amp;lt;sku&amp;gt;.*?)\,"
| stats count by _time sku
| timechart sum(count) AS count BY _time&lt;/LI-CODE&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Fri, 20 Jan 2023 09:24:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/Need-help-with-count-of-count-using-Timechart/m-p/627708#M11791</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2023-01-20T09:24:41Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with count of count using Timechart</title>
      <link>https://community.splunk.com/t5/Reporting/Need-help-with-count-of-count-using-Timechart/m-p/627709#M11792</link>
      <description>&lt;P&gt;Sure Thanks. But I don't think stats and Timechart work together.&lt;/P&gt;</description>
      <pubDate>Fri, 20 Jan 2023 09:35:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/Need-help-with-count-of-count-using-Timechart/m-p/627709#M11792</guid>
      <dc:creator>Prathyusha891</dc:creator>
      <dc:date>2023-01-20T09:35:27Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with count of count using Timechart</title>
      <link>https://community.splunk.com/t5/Reporting/Need-help-with-count-of-count-using-Timechart/m-p/627710#M11793</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/225168"&gt;@ITWhisperer&lt;/a&gt;&amp;nbsp;,&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/161352"&gt;@gcusello&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 20 Jan 2023 09:38:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/Need-help-with-count-of-count-using-Timechart/m-p/627710#M11793</guid>
      <dc:creator>Prathyusha891</dc:creator>
      <dc:date>2023-01-20T09:38:00Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with count of count using Timechart</title>
      <link>https://community.splunk.com/t5/Reporting/Need-help-with-count-of-count-using-Timechart/m-p/627715#M11795</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/253099"&gt;@Prathyusha891&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;good for you, see next time!&lt;/P&gt;&lt;P&gt;Ciao and happy splunking&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;&lt;P&gt;P.S.: Karma Points are appreciated by all the contributors &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 20 Jan 2023 10:08:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/Need-help-with-count-of-count-using-Timechart/m-p/627715#M11795</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2023-01-20T10:08:55Z</dc:date>
    </item>
  </channel>
</rss>

