<?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 Summarize data per month in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Summarize-data-per-month/m-p/696807#M236806</link>
    <description>&lt;P&gt;Hi, I am trying to get a list off all users that hit our AI rule and see if this increase or decrease over the timespan of 90 days. I want to see the application they use and see the last three months display as columns with a count of amount of users. Example below&lt;/P&gt;&lt;TABLE border="1" width="100%"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="25%" height="25px"&gt;Applications&lt;/TD&gt;&lt;TD width="25%" height="25px"&gt;June(Month1)&lt;/TD&gt;&lt;TD width="25%" height="25px"&gt;July(Month2)&lt;/TD&gt;&lt;TD width="25%" height="25px"&gt;August(Month3)&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="25%" height="25px"&gt;chatGPT&lt;/TD&gt;&lt;TD width="25%" height="25px"&gt;213&lt;/TD&gt;&lt;TD width="25%" height="25px"&gt;233&lt;/TD&gt;&lt;TD width="25%" height="25px"&gt;512&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=db_it_network sourcetype=pan* rule=g_artificial-intelligence-access
| table user, app, date_month
```| dedup user, app, date_month```
| stats count by date_month, app
| sort date_month, app 0
| rename count as "Number of Users"
| table date_month, app, "Number of Users"&lt;/LI-CODE&gt;</description>
    <pubDate>Tue, 20 Aug 2024 06:57:23 GMT</pubDate>
    <dc:creator>JandrevdM</dc:creator>
    <dc:date>2024-08-20T06:57:23Z</dc:date>
    <item>
      <title>Summarize data per month</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Summarize-data-per-month/m-p/696807#M236806</link>
      <description>&lt;P&gt;Hi, I am trying to get a list off all users that hit our AI rule and see if this increase or decrease over the timespan of 90 days. I want to see the application they use and see the last three months display as columns with a count of amount of users. Example below&lt;/P&gt;&lt;TABLE border="1" width="100%"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="25%" height="25px"&gt;Applications&lt;/TD&gt;&lt;TD width="25%" height="25px"&gt;June(Month1)&lt;/TD&gt;&lt;TD width="25%" height="25px"&gt;July(Month2)&lt;/TD&gt;&lt;TD width="25%" height="25px"&gt;August(Month3)&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="25%" height="25px"&gt;chatGPT&lt;/TD&gt;&lt;TD width="25%" height="25px"&gt;213&lt;/TD&gt;&lt;TD width="25%" height="25px"&gt;233&lt;/TD&gt;&lt;TD width="25%" height="25px"&gt;512&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=db_it_network sourcetype=pan* rule=g_artificial-intelligence-access
| table user, app, date_month
```| dedup user, app, date_month```
| stats count by date_month, app
| sort date_month, app 0
| rename count as "Number of Users"
| table date_month, app, "Number of Users"&lt;/LI-CODE&gt;</description>
      <pubDate>Tue, 20 Aug 2024 06:57:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Summarize-data-per-month/m-p/696807#M236806</guid>
      <dc:creator>JandrevdM</dc:creator>
      <dc:date>2024-08-20T06:57:23Z</dc:date>
    </item>
    <item>
      <title>Re: Summarize data per month</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Summarize-data-per-month/m-p/696810#M236807</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/270694"&gt;@JandrevdM&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;what's the issue in your search?&lt;/P&gt;&lt;P&gt;it seems to be correct, even if I'd semplify it:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=db_it_network sourcetype=pan* rule=g_artificial-intelligence-access
| stats count by date_month app
| rename count as "Number of Users"
| table date_month app "Number of Users"&lt;/LI-CODE&gt;&lt;P&gt;If you have many data to analyze, you could schedure this search, e.g. every night with the events of the day, saving results in a summary index and searching on the summary index.&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Tue, 20 Aug 2024 07:06:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Summarize-data-per-month/m-p/696810#M236807</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2024-08-20T07:06:04Z</dc:date>
    </item>
    <item>
      <title>Re: Summarize data per month</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Summarize-data-per-month/m-p/696811#M236808</link>
      <description>&lt;P&gt;Try this&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=db_it_network sourcetype=pan* rule=g_artificial-intelligence-access
| chart count by app date_month&lt;/LI-CODE&gt;</description>
      <pubDate>Tue, 20 Aug 2024 07:17:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Summarize-data-per-month/m-p/696811#M236808</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2024-08-20T07:17:37Z</dc:date>
    </item>
    <item>
      <title>Re: Summarize data per month</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Summarize-data-per-month/m-p/696819#M236810</link>
      <description>&lt;P&gt;Thanks!&lt;BR /&gt;&lt;BR /&gt;Do you perhaps know how I can summarize count only a user once per month per app.&lt;BR /&gt;&lt;BR /&gt;index=db_it_network sourcetype=pan* rule=g_artificial-intelligence-access&lt;BR /&gt;| table user, app, date_month&lt;BR /&gt;| dedup user,app, date_month&lt;BR /&gt;| chart count by app date_month&lt;BR /&gt;| sort app 0&lt;BR /&gt;&lt;BR /&gt;This gives me a huge total for august but takes out the events for the other months&lt;/P&gt;</description>
      <pubDate>Tue, 20 Aug 2024 09:17:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Summarize-data-per-month/m-p/696819#M236810</guid>
      <dc:creator>JandrevdM</dc:creator>
      <dc:date>2024-08-20T09:17:17Z</dc:date>
    </item>
    <item>
      <title>Re: Summarize data per month</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Summarize-data-per-month/m-p/696834#M236812</link>
      <description>&lt;P&gt;What you have should work, but you could try this instead&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=db_it_network sourcetype=pan* rule=g_artificial-intelligence-access
| stats count by user app date_month
| chart count by app date_month&lt;/LI-CODE&gt;</description>
      <pubDate>Tue, 20 Aug 2024 11:51:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Summarize-data-per-month/m-p/696834#M236812</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2024-08-20T11:51:14Z</dc:date>
    </item>
  </channel>
</rss>

