<?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: What does bin _time span does here? in Knowledge Management</title>
    <link>https://community.splunk.com/t5/Knowledge-Management/What-does-bin-time-span-does-here/m-p/431080#M5839</link>
    <description>&lt;P&gt;With  &lt;STRONG&gt;bin _time span&lt;/STRONG&gt; you force the _time to be a full day.&lt;BR /&gt;
So with &lt;STRONG&gt;| bin _time span=1d&lt;/STRONG&gt;  you get your stats count  split by day.&lt;/P&gt;

&lt;P&gt;It you want a report it over a week, just do &lt;STRONG&gt;span=1w&lt;/STRONG&gt; a moth is &lt;STRONG&gt;span=1mon&lt;/STRONG&gt;  (do also change the &lt;EM&gt;earlies=&lt;/EM&gt; value ) &lt;/P&gt;</description>
    <pubDate>Mon, 27 Aug 2018 07:55:47 GMT</pubDate>
    <dc:creator>teunlaan</dc:creator>
    <dc:date>2018-08-27T07:55:47Z</dc:date>
    <item>
      <title>What does bin _time span does here?</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/What-does-bin-time-span-does-here/m-p/431079#M5838</link>
      <description>&lt;P&gt;Hi, &lt;/P&gt;

&lt;P&gt;I am having a bit of difficulty understanding what does &lt;STRONG&gt;bin _time span&lt;/STRONG&gt; does here. Below is query shared in splunk community to find request per min by OrgName per day&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=data earliest = -1d| bin _time span=1d
 | streamstats count as Req by OrgName, _time
 | eval requestsPerMin=Req/24/60
 | eval requestsPerSec=requestsPerMin/60
 | stats avg(requestsPerMin) as avgRequestPerSec, max(requestsPerMin) as peakRequestPerMin by OrgName, _time
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;My confusion here is what bin _time span does. I want to find requestPerMin for Last week and month wise too. Could you someone explain how it can be done?&lt;/P&gt;</description>
      <pubDate>Mon, 27 Aug 2018 05:00:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/What-does-bin-time-span-does-here/m-p/431079#M5838</guid>
      <dc:creator>sangs8788</dc:creator>
      <dc:date>2018-08-27T05:00:30Z</dc:date>
    </item>
    <item>
      <title>Re: What does bin _time span does here?</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/What-does-bin-time-span-does-here/m-p/431080#M5839</link>
      <description>&lt;P&gt;With  &lt;STRONG&gt;bin _time span&lt;/STRONG&gt; you force the _time to be a full day.&lt;BR /&gt;
So with &lt;STRONG&gt;| bin _time span=1d&lt;/STRONG&gt;  you get your stats count  split by day.&lt;/P&gt;

&lt;P&gt;It you want a report it over a week, just do &lt;STRONG&gt;span=1w&lt;/STRONG&gt; a moth is &lt;STRONG&gt;span=1mon&lt;/STRONG&gt;  (do also change the &lt;EM&gt;earlies=&lt;/EM&gt; value ) &lt;/P&gt;</description>
      <pubDate>Mon, 27 Aug 2018 07:55:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/What-does-bin-time-span-does-here/m-p/431080#M5839</guid>
      <dc:creator>teunlaan</dc:creator>
      <dc:date>2018-08-27T07:55:47Z</dc:date>
    </item>
  </channel>
</rss>

