<?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: error in timechart command and too many bins in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/error-in-timechart-command-and-too-many-bins/m-p/28158#M5530</link>
    <description>&lt;P&gt;How can you be sure that maxbins is not set? It does get set in $SPLUNK_HOME/etc/system/default/limits.conf, specifically:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[discretize]
maxbins = 50000
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Have you tried updating this (by creating a etc/system/&lt;STRONG&gt;local&lt;/STRONG&gt;/limits.conf)? You can also run the CLI command:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;gt; splunk.exe cmd btool limits list
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Wed, 19 Jan 2011 03:46:53 GMT</pubDate>
    <dc:creator>Dan</dc:creator>
    <dc:date>2011-01-19T03:46:53Z</dc:date>
    <item>
      <title>error in timechart command and too many bins</title>
      <link>https://community.splunk.com/t5/Splunk-Search/error-in-timechart-command-and-too-many-bins/m-p/28157#M5529</link>
      <description>&lt;P&gt;I am getting the following error&lt;/P&gt;

&lt;P&gt;Error in 'timechart' command: Span value '1m' results in too many (&amp;gt; 50000) bins. Edit limits.conf to change limits.&lt;/P&gt;

&lt;P&gt;In my limits.conf file maxbins is not set, but maxresultsrow is set to a larger number. The comments state that if maxbins is not specified, it will default to the maxresultsrows &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[searchresults]
maxresultrows = 5000000
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;commented line: if maxbins not specified or = 0, defaults to searchresults::maxresultrows&lt;/P&gt;

&lt;P&gt;Any assistance would be appreciated.&lt;/P&gt;</description>
      <pubDate>Wed, 19 Jan 2011 00:24:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/error-in-timechart-command-and-too-many-bins/m-p/28157#M5529</guid>
      <dc:creator>bwojciechowski</dc:creator>
      <dc:date>2011-01-19T00:24:37Z</dc:date>
    </item>
    <item>
      <title>Re: error in timechart command and too many bins</title>
      <link>https://community.splunk.com/t5/Splunk-Search/error-in-timechart-command-and-too-many-bins/m-p/28158#M5530</link>
      <description>&lt;P&gt;How can you be sure that maxbins is not set? It does get set in $SPLUNK_HOME/etc/system/default/limits.conf, specifically:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[discretize]
maxbins = 50000
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Have you tried updating this (by creating a etc/system/&lt;STRONG&gt;local&lt;/STRONG&gt;/limits.conf)? You can also run the CLI command:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;gt; splunk.exe cmd btool limits list
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 19 Jan 2011 03:46:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/error-in-timechart-command-and-too-many-bins/m-p/28158#M5530</guid>
      <dc:creator>Dan</dc:creator>
      <dc:date>2011-01-19T03:46:53Z</dc:date>
    </item>
  </channel>
</rss>

