<?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: Manually defining bucket range in Deployment Architecture</title>
    <link>https://community.splunk.com/t5/Deployment-Architecture/Manually-defining-bucket-range/m-p/95245#M3511</link>
    <description>&lt;P&gt;Yes I am looking to make buckets of different sizes.&lt;/P&gt;</description>
    <pubDate>Mon, 15 Apr 2013 21:26:39 GMT</pubDate>
    <dc:creator>aaronkorn</dc:creator>
    <dc:date>2013-04-15T21:26:39Z</dc:date>
    <item>
      <title>Manually defining bucket range</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Manually-defining-bucket-range/m-p/95243#M3509</link>
      <description>&lt;P&gt;Is there a way to manually define the range of a bucket for a search? For example we would want a bucket for 0-7, 8-15 etc...&lt;/P&gt;

&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Mon, 15 Apr 2013 20:27:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Manually-defining-bucket-range/m-p/95243#M3509</guid>
      <dc:creator>aaronkorn</dc:creator>
      <dc:date>2013-04-15T20:27:41Z</dc:date>
    </item>
    <item>
      <title>Re: Manually defining bucket range</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Manually-defining-bucket-range/m-p/95244#M3510</link>
      <description>&lt;P&gt;I'm not entirely sure what you're asking. You can set the bucket width quite easily as follows:&lt;/P&gt;

&lt;P&gt;MySearchTerms | bucket MyField span=foo&lt;/P&gt;

&lt;P&gt;Is this what you are looking to do? It appears to match the criteria you have given above, but I didn't know if you were looking to do something complex (for example, make buckets of different sizes, such as 0-10,10-30,30-60, etc.)&lt;/P&gt;</description>
      <pubDate>Mon, 15 Apr 2013 21:10:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Manually-defining-bucket-range/m-p/95244#M3510</guid>
      <dc:creator>BenjaminWyatt</dc:creator>
      <dc:date>2013-04-15T21:10:09Z</dc:date>
    </item>
    <item>
      <title>Re: Manually defining bucket range</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Manually-defining-bucket-range/m-p/95245#M3511</link>
      <description>&lt;P&gt;Yes I am looking to make buckets of different sizes.&lt;/P&gt;</description>
      <pubDate>Mon, 15 Apr 2013 21:26:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Manually-defining-bucket-range/m-p/95245#M3511</guid>
      <dc:creator>aaronkorn</dc:creator>
      <dc:date>2013-04-15T21:26:39Z</dc:date>
    </item>
    <item>
      <title>Re: Manually defining bucket range</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Manually-defining-bucket-range/m-p/95246#M3512</link>
      <description>&lt;P&gt;You can simply use the &lt;CODE&gt;eval&lt;/CODE&gt; command's &lt;CODE&gt;case()&lt;/CODE&gt; function, e.g., &lt;CODE&gt;... | eval case(0&amp;lt;=myfield&amp;lt;8,0, 8&amp;lt;=myfield&amp;lt;15, 8, 15&amp;lt;=myfield&amp;lt;100, 15, 100&amp;lt;=myfield,100)&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 15 Apr 2013 21:38:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Manually-defining-bucket-range/m-p/95246#M3512</guid>
      <dc:creator>gkanapathy</dc:creator>
      <dc:date>2013-04-15T21:38:57Z</dc:date>
    </item>
    <item>
      <title>Re: Manually defining bucket range</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Manually-defining-bucket-range/m-p/95247#M3513</link>
      <description>&lt;P&gt;It may be simpler to use the rangemap command to do this. e.g. The following will set the value range to 1 if the count is between 1 and 100, 2 if it is between 101 and 110, 3 if between 111 and 700, 4 if it is over 700.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;* | stats count by host | rangemap field=count 1=1-100 2=101-110 3=111-700 default=4
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 16 Apr 2013 08:31:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Manually-defining-bucket-range/m-p/95247#M3513</guid>
      <dc:creator>BobM</dc:creator>
      <dc:date>2013-04-16T08:31:06Z</dc:date>
    </item>
    <item>
      <title>Re: Manually defining bucket range</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Manually-defining-bucket-range/m-p/95248#M3514</link>
      <description>&lt;P&gt;you can also use this with string bucket such as &lt;/P&gt;

&lt;P&gt;| rangemap field=number tiny=0-1 small=1-10 medium=10-100 large=100-10000 default=enormous&lt;/P&gt;</description>
      <pubDate>Tue, 16 Apr 2013 10:23:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Manually-defining-bucket-range/m-p/95248#M3514</guid>
      <dc:creator>BobM</dc:creator>
      <dc:date>2013-04-16T10:23:52Z</dc:date>
    </item>
  </channel>
</rss>

