<?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 How to create a timechart for the first of each month? in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-create-a-timechart-for-the-first-of-each-month/m-p/616545#M50623</link>
    <description>&lt;P&gt;I'm trying to create a timechart at intervals of one month however the below code produces the sum of the entire month, I want the value on the 1st of each month, please let me know any solutions to get value any alternate to span to get intervals as on&lt;/P&gt;
&lt;P&gt;2022-10-01&lt;BR /&gt;2022-09-01&lt;BR /&gt;2022-08-01&lt;/P&gt;
&lt;P&gt;`source=all_month.csv place=*alaska* mag&amp;gt;=3.5 | timechart span=mon@mon1 count BY mag`&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;(index="sales") | fillnull value="undefined"| bucket _time span=mon@mon1&lt;BR /&gt;| chart count by _time stock&lt;/P&gt;</description>
    <pubDate>Mon, 10 Oct 2022 15:32:21 GMT</pubDate>
    <dc:creator>annisha26</dc:creator>
    <dc:date>2022-10-10T15:32:21Z</dc:date>
    <item>
      <title>How to create a timechart for the first of each month?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-create-a-timechart-for-the-first-of-each-month/m-p/616545#M50623</link>
      <description>&lt;P&gt;I'm trying to create a timechart at intervals of one month however the below code produces the sum of the entire month, I want the value on the 1st of each month, please let me know any solutions to get value any alternate to span to get intervals as on&lt;/P&gt;
&lt;P&gt;2022-10-01&lt;BR /&gt;2022-09-01&lt;BR /&gt;2022-08-01&lt;/P&gt;
&lt;P&gt;`source=all_month.csv place=*alaska* mag&amp;gt;=3.5 | timechart span=mon@mon1 count BY mag`&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;(index="sales") | fillnull value="undefined"| bucket _time span=mon@mon1&lt;BR /&gt;| chart count by _time stock&lt;/P&gt;</description>
      <pubDate>Mon, 10 Oct 2022 15:32:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-create-a-timechart-for-the-first-of-each-month/m-p/616545#M50623</guid>
      <dc:creator>annisha26</dc:creator>
      <dc:date>2022-10-10T15:32:21Z</dc:date>
    </item>
    <item>
      <title>Re: chart intervals</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-create-a-timechart-for-the-first-of-each-month/m-p/616546#M50624</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/250202"&gt;@annisha26&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;in the main search add (if present) the field date_mday="1".&lt;/P&gt;&lt;P&gt;Then use timechart instead chart:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;(index="sales") date_mday="1"
| fillnull value="undefined"
| timechart span=mon@mon1 count BY stock&lt;/LI-CODE&gt;&lt;P&gt;if you haven't this field, you can extract:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;(index="sales") 
| eval date_mday=strftime(_time,"m")
| search date_mday="1"
| fillnull value="undefined"
| timechart span=mon@mon1 count BY stock&lt;/LI-CODE&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 10 Oct 2022 15:32:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-create-a-timechart-for-the-first-of-each-month/m-p/616546#M50624</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2022-10-10T15:32:16Z</dc:date>
    </item>
  </channel>
</rss>

