<?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 Increment transaction span considering a custom start time in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Increment-transaction-span-considering-a-custom-start-time/m-p/19259#M2902</link>
    <description>&lt;P&gt;Hi Guys,&lt;/P&gt;

&lt;P&gt;I'm intending to develop a dashboard that shows what IP addresses have accessed the website every 15 minutes. It's OK, I am planning to use "| timechart span=15m" to solve this question. But, I must start monitoring this scenario from 00:22 AM. Is there a way to start from 00:22 AM and increment every 15 minutes from that time? For example:&lt;/P&gt;

&lt;P&gt;2013-08-09 00:22 ...&lt;BR /&gt;
2013-08-09 00:37 ...&lt;BR /&gt;
2013-08-09 00:52 ... [...] &lt;/P&gt;

&lt;P&gt;Any hint? Thank you guys!&lt;/P&gt;</description>
    <pubDate>Tue, 30 Jul 2013 17:21:31 GMT</pubDate>
    <dc:creator>wagnerbianchi</dc:creator>
    <dc:date>2013-07-30T17:21:31Z</dc:date>
    <item>
      <title>Increment transaction span considering a custom start time</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Increment-transaction-span-considering-a-custom-start-time/m-p/19259#M2902</link>
      <description>&lt;P&gt;Hi Guys,&lt;/P&gt;

&lt;P&gt;I'm intending to develop a dashboard that shows what IP addresses have accessed the website every 15 minutes. It's OK, I am planning to use "| timechart span=15m" to solve this question. But, I must start monitoring this scenario from 00:22 AM. Is there a way to start from 00:22 AM and increment every 15 minutes from that time? For example:&lt;/P&gt;

&lt;P&gt;2013-08-09 00:22 ...&lt;BR /&gt;
2013-08-09 00:37 ...&lt;BR /&gt;
2013-08-09 00:52 ... [...] &lt;/P&gt;

&lt;P&gt;Any hint? Thank you guys!&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jul 2013 17:21:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Increment-transaction-span-considering-a-custom-start-time/m-p/19259#M2902</guid>
      <dc:creator>wagnerbianchi</dc:creator>
      <dc:date>2013-07-30T17:21:31Z</dc:date>
    </item>
    <item>
      <title>Re: Increment transaction span considering a custom start time</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Increment-transaction-span-considering-a-custom-start-time/m-p/19260#M2903</link>
      <description>&lt;P&gt;earliest=@d+22m&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jul 2013 17:23:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Increment-transaction-span-considering-a-custom-start-time/m-p/19260#M2903</guid>
      <dc:creator>aholzer</dc:creator>
      <dc:date>2013-07-30T17:23:10Z</dc:date>
    </item>
    <item>
      <title>Re: Increment transaction span considering a custom start time</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Increment-transaction-span-considering-a-custom-start-time/m-p/19261#M2904</link>
      <description>&lt;P&gt;earliest=@d+22m&lt;BR /&gt;
If you add the above to your search terms it will set the start time of your search to midnight+22minutes, or 00:22 AM.&lt;BR /&gt;
You then apply the timechart that you mentioned and you'll get the bucketing you want. That said you can also use "| bucket _time span=15m" instead of timechart.&lt;/P&gt;

&lt;P&gt;-- Edit: Converted to answer --&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jul 2013 17:23:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Increment-transaction-span-considering-a-custom-start-time/m-p/19261#M2904</guid>
      <dc:creator>aholzer</dc:creator>
      <dc:date>2013-07-30T17:23:29Z</dc:date>
    </item>
    <item>
      <title>Re: Increment transaction span considering a custom start time</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Increment-transaction-span-considering-a-custom-start-time/m-p/19262#M2905</link>
      <description>&lt;P&gt;The problem I noticed after using "earliest=@d+22m | timechart span=15m" is that the Splunk is rounding the value. For example, when I passed @d+22m as the earliest's parameter, Splunk has listed events from the 00:20 and then, 00:35, 00:50 and so forth...is there a way to increment time from 00:22 and then, 00:37 and so forth? OK, I know that the problem will be in the interval by the way, but, the customer is looking for to start from 00:22...&lt;/P&gt;

&lt;P&gt;Thanks a lot for the help. &lt;/P&gt;</description>
      <pubDate>Tue, 30 Jul 2013 17:36:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Increment-transaction-span-considering-a-custom-start-time/m-p/19262#M2905</guid>
      <dc:creator>wagnerbianchi</dc:creator>
      <dc:date>2013-07-30T17:36:43Z</dc:date>
    </item>
    <item>
      <title>Re: Increment transaction span considering a custom start time</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Increment-transaction-span-considering-a-custom-start-time/m-p/19263#M2906</link>
      <description>&lt;P&gt;In response to your "question in your answer"&lt;/P&gt;

&lt;P&gt;I don't think there is an easy way of doing it. You may want to look into the command bucket and it's various options, rather than timechart.&lt;/P&gt;

&lt;P&gt;You may also have to get fancy with an eval and a case, to create your own buckets. Use the "date_minute" field that comes with every event and you can do something like:&lt;/P&gt;

&lt;P&gt;... | eval buckets=case(&lt;BR /&gt;
  date_minute&amp;gt;=7 AND date_minute&amp;lt;22,"07-22",&lt;BR /&gt;
  date_minute&amp;gt;=22 AND date_minute&amp;lt;37,"22-37",&lt;BR /&gt;
  date_minute&amp;gt;=37 AND date_minute&amp;lt;52,"37-52",&lt;BR /&gt;
  date_minute&amp;gt;=52 OR date_minute&amp;lt;7,"52-07")&lt;BR /&gt;
Hope this helps&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 14:28:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Increment-transaction-span-considering-a-custom-start-time/m-p/19263#M2906</guid>
      <dc:creator>aholzer</dc:creator>
      <dc:date>2020-09-28T14:28:54Z</dc:date>
    </item>
  </channel>
</rss>

