<?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: dynamic span in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/dynamic-span/m-p/193130#M12043</link>
    <description>&lt;P&gt;The problem is when using bins, it will tend to not bucketise the 0 value, and cause the graph to be non linear on the x-axis.. I need to see the overall graph shape.&lt;/P&gt;</description>
    <pubDate>Thu, 02 Jan 2014 22:58:51 GMT</pubDate>
    <dc:creator>wcleong</dc:creator>
    <dc:date>2014-01-02T22:58:51Z</dc:date>
    <item>
      <title>dynamic span</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/dynamic-span/m-p/193128#M12041</link>
      <description>&lt;P&gt;hi, I have a area chart as below search command&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=index_rv TAG="*" CELL_NAME=* TAG!=TAG CELL_NAME!=CELL_NAME |  eval Diff_Percentage = max(Metal_I_diff)  | eval Current = Metal_I_1 * 1 |  chart min(Diff_Percentage),max(Diff_Percentage) by Current span=0.01
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;however, my data range for x axis might be varied, and I would like to have the spanning to be max(Current)/1000 so that I can span it to 1000 plot only, can I know how to do it? I tried below but it is not working&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=index_rv TAG="*" CELL_NAME=* TAG!=TAG CELL_NAME!=CELL_NAME |  eval Diff_Percentage = max(Metal_I_diff)  | eval Current = Metal_I_1 * 1 |  chart min(Diff_Percentage),max(Diff_Percentage) by Current span=eval(max (Current)/10000)
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 02 Jan 2014 06:58:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/dynamic-span/m-p/193128#M12041</guid>
      <dc:creator>wcleong</dc:creator>
      <dc:date>2014-01-02T06:58:13Z</dc:date>
    </item>
    <item>
      <title>Re: dynamic span</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/dynamic-span/m-p/193129#M12042</link>
      <description>&lt;P&gt;You might try instead of setting a specific &lt;CODE&gt;span=&lt;/CODE&gt; to use &lt;CODE&gt;bins=&lt;/CODE&gt; in order to tell the &lt;CODE&gt;chart&lt;/CODE&gt; command that you want it to use (up to) a set number of bins, and let it figure out an appropriate size.&lt;/P&gt;</description>
      <pubDate>Thu, 02 Jan 2014 16:01:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/dynamic-span/m-p/193129#M12042</guid>
      <dc:creator>dwaddle</dc:creator>
      <dc:date>2014-01-02T16:01:47Z</dc:date>
    </item>
    <item>
      <title>Re: dynamic span</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/dynamic-span/m-p/193130#M12043</link>
      <description>&lt;P&gt;The problem is when using bins, it will tend to not bucketise the 0 value, and cause the graph to be non linear on the x-axis.. I need to see the overall graph shape.&lt;/P&gt;</description>
      <pubDate>Thu, 02 Jan 2014 22:58:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/dynamic-span/m-p/193130#M12043</guid>
      <dc:creator>wcleong</dc:creator>
      <dc:date>2014-01-02T22:58:51Z</dc:date>
    </item>
    <item>
      <title>Re: dynamic span</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/dynamic-span/m-p/193131#M12044</link>
      <description>&lt;P&gt;The problem is when using bins, it will tend to not bucketise the 0 value, and cause the graph to be non linear on the x-axis.. I need to see the overall graph shape.&lt;/P&gt;</description>
      <pubDate>Thu, 02 Jan 2014 22:59:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/dynamic-span/m-p/193131#M12044</guid>
      <dc:creator>wcleong</dc:creator>
      <dc:date>2014-01-02T22:59:04Z</dc:date>
    </item>
  </channel>
</rss>

