<?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: How do I create a timechart by month, but starting with the 15th day of the month? (15th - 14th) in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-create-a-timechart-by-month-but-starting-with-the-15th/m-p/253129#M75752</link>
    <description>&lt;P&gt;This is what I've tried and seems to be working fine but I've only got two months worth of data so ...&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=_internal
| eval mytime = if(date_mday&amp;lt;=15, _time, _time+(15*24*60*60))
| bucket mytime span=1mon
| eval month = strftime(mytime, "%B")
| chart count over mytime by month
| eval mytime = "Mid-" . strftime(mytime, "%B")
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Mon, 01 Feb 2016 10:15:16 GMT</pubDate>
    <dc:creator>javiergn</dc:creator>
    <dc:date>2016-02-01T10:15:16Z</dc:date>
    <item>
      <title>How do I create a timechart by month, but starting with the 15th day of the month? (15th - 14th)</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-create-a-timechart-by-month-but-starting-with-the-15th/m-p/253127#M75750</link>
      <description>&lt;P&gt;Hi, &lt;/P&gt;

&lt;P&gt;I'm trying to timechart by month, but starting at the 15th of the month. I've looked for "offsets", but I can't seem to find anything helpful. &lt;/P&gt;

&lt;P&gt;Can someone point me in the correct direction?&lt;/P&gt;

&lt;P&gt;Thanks&lt;BR /&gt;
Mark&lt;/P&gt;</description>
      <pubDate>Mon, 01 Feb 2016 08:38:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-create-a-timechart-by-month-but-starting-with-the-15th/m-p/253127#M75750</guid>
      <dc:creator>markgandolfo</dc:creator>
      <dc:date>2016-02-01T08:38:30Z</dc:date>
    </item>
    <item>
      <title>Re: How do I create a timechart by month, but starting with the 15th day of the month? (15th - 14th)</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-create-a-timechart-by-month-but-starting-with-the-15th/m-p/253128#M75751</link>
      <description>&lt;P&gt;Hi&lt;BR /&gt;
 try this example and tell if it help you&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; index=_internal  |timechart count by date_month where (date_mday&amp;gt;=15 and date_mday=&amp;lt;31)
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 01 Feb 2016 08:57:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-create-a-timechart-by-month-but-starting-with-the-15th/m-p/253128#M75751</guid>
      <dc:creator>chimell</dc:creator>
      <dc:date>2016-02-01T08:57:50Z</dc:date>
    </item>
    <item>
      <title>Re: How do I create a timechart by month, but starting with the 15th day of the month? (15th - 14th)</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-create-a-timechart-by-month-but-starting-with-the-15th/m-p/253129#M75752</link>
      <description>&lt;P&gt;This is what I've tried and seems to be working fine but I've only got two months worth of data so ...&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=_internal
| eval mytime = if(date_mday&amp;lt;=15, _time, _time+(15*24*60*60))
| bucket mytime span=1mon
| eval month = strftime(mytime, "%B")
| chart count over mytime by month
| eval mytime = "Mid-" . strftime(mytime, "%B")
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 01 Feb 2016 10:15:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-create-a-timechart-by-month-but-starting-with-the-15th/m-p/253129#M75752</guid>
      <dc:creator>javiergn</dc:creator>
      <dc:date>2016-02-01T10:15:16Z</dc:date>
    </item>
    <item>
      <title>Re: How do I create a timechart by month, but starting with the 15th day of the month? (15th - 14th)</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-create-a-timechart-by-month-but-starting-with-the-15th/m-p/253130#M75753</link>
      <description>&lt;P&gt;try like :&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;your_base_search ... date_mday&amp;gt;=15| timechart span=1months count
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;example:&lt;/P&gt;

&lt;P&gt;index = _internal date_mday&amp;gt;=15| timechart span=1months count&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 08:37:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-create-a-timechart-by-month-but-starting-with-the-15th/m-p/253130#M75753</guid>
      <dc:creator>fdi01</dc:creator>
      <dc:date>2020-09-29T08:37:29Z</dc:date>
    </item>
  </channel>
</rss>

