<?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 Total Logon Count for Each month in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Total-Logon-Count-for-Each-month/m-p/382581#M170442</link>
    <description>&lt;P&gt;Hello Splunk Gurus&lt;/P&gt;

&lt;P&gt;I need help with the following. I am sure it is pretty simple command but my head stopped working. i have the following search that brings up the total logon count in 1month span in table format for the last 2 months. How do i create a chart or timechart from this? (total number of logons by each month)&lt;/P&gt;

&lt;P&gt;Message="An account was successfully logged on.&lt;EM&gt;" | bucket _time span=30d | search Message="An account was successfully logged on.&lt;/EM&gt;" AND Source_Port="0"|stats  count(Message) AS "Total_Logon_Count" by _time  | convert  timeformat="%B %d %Y" ctime(_time) | rename  _time AS Date |table Date Total_Logon_Count&lt;/P&gt;

&lt;P&gt;&lt;IMG src="https://community.splunk.com/storage/temp/273137-splunk.png" alt="alt text" /&gt;&lt;/P&gt;

&lt;P&gt;thanks in advance for all the help!&lt;/P&gt;</description>
    <pubDate>Wed, 30 Sep 2020 01:16:15 GMT</pubDate>
    <dc:creator>carlyleadmin</dc:creator>
    <dc:date>2020-09-30T01:16:15Z</dc:date>
    <item>
      <title>Total Logon Count for Each month</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Total-Logon-Count-for-Each-month/m-p/382581#M170442</link>
      <description>&lt;P&gt;Hello Splunk Gurus&lt;/P&gt;

&lt;P&gt;I need help with the following. I am sure it is pretty simple command but my head stopped working. i have the following search that brings up the total logon count in 1month span in table format for the last 2 months. How do i create a chart or timechart from this? (total number of logons by each month)&lt;/P&gt;

&lt;P&gt;Message="An account was successfully logged on.&lt;EM&gt;" | bucket _time span=30d | search Message="An account was successfully logged on.&lt;/EM&gt;" AND Source_Port="0"|stats  count(Message) AS "Total_Logon_Count" by _time  | convert  timeformat="%B %d %Y" ctime(_time) | rename  _time AS Date |table Date Total_Logon_Count&lt;/P&gt;

&lt;P&gt;&lt;IMG src="https://community.splunk.com/storage/temp/273137-splunk.png" alt="alt text" /&gt;&lt;/P&gt;

&lt;P&gt;thanks in advance for all the help!&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 01:16:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Total-Logon-Count-for-Each-month/m-p/382581#M170442</guid>
      <dc:creator>carlyleadmin</dc:creator>
      <dc:date>2020-09-30T01:16:15Z</dc:date>
    </item>
    <item>
      <title>Re: Total Logon Count for Each month</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Total-Logon-Count-for-Each-month/m-p/382582#M170443</link>
      <description>&lt;P&gt;You should consider reworking your search using the timechart command instead of table and stats: &lt;/P&gt;

&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/Splunk/latest/SearchReference/Timechart?r=searchtip"&gt;https://docs.splunk.com/Documentation/Splunk/latest/SearchReference/Timechart?r=searchtip&lt;/A&gt; &lt;/P&gt;

&lt;P&gt;Once this is done, Returned statistics can be displayed as a visualization via the GUI, you can find information about that here : &lt;/P&gt;

&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/Splunk/7.3.0/SearchTutorial/Chartasareport"&gt;https://docs.splunk.com/Documentation/Splunk/7.3.0/SearchTutorial/Chartasareport&lt;/A&gt; &lt;/P&gt;</description>
      <pubDate>Tue, 09 Jul 2019 22:56:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Total-Logon-Count-for-Each-month/m-p/382582#M170443</guid>
      <dc:creator>jimmytpowers</dc:creator>
      <dc:date>2019-07-09T22:56:25Z</dc:date>
    </item>
    <item>
      <title>Re: Total Logon Count for Each month</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Total-Logon-Count-for-Each-month/m-p/382583#M170444</link>
      <description>&lt;P&gt;Thanks Jimmy&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jul 2019 16:34:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Total-Logon-Count-for-Each-month/m-p/382583#M170444</guid>
      <dc:creator>carlyleadmin</dc:creator>
      <dc:date>2019-07-10T16:34:29Z</dc:date>
    </item>
    <item>
      <title>Re: Total Logon Count for Each month</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Total-Logon-Count-for-Each-month/m-p/382584#M170445</link>
      <description>&lt;P&gt;You are very welcome! &lt;/P&gt;</description>
      <pubDate>Thu, 11 Jul 2019 00:16:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Total-Logon-Count-for-Each-month/m-p/382584#M170445</guid>
      <dc:creator>jimmytpowers</dc:creator>
      <dc:date>2019-07-11T00:16:26Z</dc:date>
    </item>
  </channel>
</rss>

