<?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: How to change x-axis increments on a column chart? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-change-x-axis-increments-on-a-column-chart/m-p/258287#M77387</link>
    <description>&lt;P&gt;fixed it by sorting it &lt;/P&gt;</description>
    <pubDate>Tue, 12 Jul 2016 21:46:05 GMT</pubDate>
    <dc:creator>brianlee12</dc:creator>
    <dc:date>2016-07-12T21:46:05Z</dc:date>
    <item>
      <title>How to change x-axis increments on a column chart?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-change-x-axis-increments-on-a-column-chart/m-p/258270#M77370</link>
      <description>&lt;P&gt;I have a column chart with 4 bars, with the values 2, 10, 46, and 50. The spacing between these 4 bars are the same as Splunk treats the values as labels. I'd like to space the bars out proportional to their x-axis value, so the space between the 10 bar and 46 bar would be much greater than the spacing between 46 and 50, etc. Any help would be appreciated thanks &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Jul 2016 17:45:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-change-x-axis-increments-on-a-column-chart/m-p/258270#M77370</guid>
      <dc:creator>brianlee12</dc:creator>
      <dc:date>2016-07-12T17:45:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to change x-axis increments on a column chart?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-change-x-axis-increments-on-a-column-chart/m-p/258271#M77371</link>
      <description>&lt;P&gt;Can you post the search OR the table of final values you've?&lt;/P&gt;</description>
      <pubDate>Tue, 12 Jul 2016 18:23:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-change-x-axis-increments-on-a-column-chart/m-p/258271#M77371</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2016-07-12T18:23:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to change x-axis increments on a column chart?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-change-x-axis-increments-on-a-column-chart/m-p/258272#M77372</link>
      <description>&lt;P&gt;My search is:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;... |   stats sum(uploadSize) as totalUploadSize sum(uploadDuration) as totalUploadDuration by deviceID |   eval bandwidth= round((totalUploadSize)/(totalUploadDuration*0.001*131072),4) |  table deviceID bandwidth | stats count by bandwidth | sort + bandwidth
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;currently it looks like&lt;/P&gt;

&lt;P&gt;&lt;IMG src="https://dl.dropboxusercontent.com/u/30186985/Screen%20Shot%202016-07-12%20at%2010.40.05%20AM.png" alt="alt text" /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Jul 2016 18:26:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-change-x-axis-increments-on-a-column-chart/m-p/258272#M77372</guid>
      <dc:creator>brianlee12</dc:creator>
      <dc:date>2016-07-12T18:26:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to change x-axis increments on a column chart?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-change-x-axis-increments-on-a-column-chart/m-p/258273#M77373</link>
      <description>&lt;P&gt;Give this a try&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; ... | stats sum(uploadSize) as totalUploadSize sum(uploadDuration) as totalUploadDuration by deviceID | eval bandwidth= round((totalUploadSize)/(totalUploadDuration*0.001*131072),4)  | stats count by bandwidth  | eval t=bandwidth | chart values(count) over bandwidth by t
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 12 Jul 2016 18:35:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-change-x-axis-increments-on-a-column-chart/m-p/258273#M77373</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2016-07-12T18:35:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to change x-axis increments on a column chart?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-change-x-axis-increments-on-a-column-chart/m-p/258274#M77374</link>
      <description>&lt;P&gt;The bars are being spaced out a lot but the spacing is still constant not proportional&lt;/P&gt;

&lt;P&gt;&lt;IMG src="https://dl.dropboxusercontent.com/u/30186985/Screen%20Shot%202016-07-12%20at%2011.40.25%20AM.png" alt="alt text" /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Jul 2016 18:42:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-change-x-axis-increments-on-a-column-chart/m-p/258274#M77374</guid>
      <dc:creator>brianlee12</dc:creator>
      <dc:date>2016-07-12T18:42:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to change x-axis increments on a column chart?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-change-x-axis-increments-on-a-column-chart/m-p/258275#M77375</link>
      <description>&lt;P&gt;The column spacing is exactly same as value of "bandwidth"? Do you want it to be spaced out based of value of "count"? OR if you could post snapshot of your expected graph.&lt;/P&gt;</description>
      <pubDate>Tue, 12 Jul 2016 18:51:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-change-x-axis-increments-on-a-column-chart/m-p/258275#M77375</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2016-07-12T18:51:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to change x-axis increments on a column chart?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-change-x-axis-increments-on-a-column-chart/m-p/258276#M77376</link>
      <description>&lt;P&gt;This is what I'm looking for&lt;/P&gt;

&lt;P&gt;&lt;IMG src="https://dl.dropboxusercontent.com/u/30186985/Photo%20Jul%2012%2C%2011%2056%2008%20AM.jpg" alt="alt text" /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Jul 2016 18:58:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-change-x-axis-increments-on-a-column-chart/m-p/258276#M77376</guid>
      <dc:creator>brianlee12</dc:creator>
      <dc:date>2016-07-12T18:58:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to change x-axis increments on a column chart?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-change-x-axis-increments-on-a-column-chart/m-p/258277#M77377</link>
      <description>&lt;P&gt;Give this a try&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;... | stats sum(uploadSize) as totalUploadSize sum(uploadDuration) as totalUploadDuration by deviceID | eval bandwidth= round((totalUploadSize)/(totalUploadDuration*0.001*131072),4)  | stats count by bandwidth  | eval _time=relative_time(now(),"@d") + bandwidth | timechart span=10s values(count)  by bandwidth | eval t=round(_time-relative_time(now(),"@d")) | fields - _time | table t *
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 12 Jul 2016 19:05:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-change-x-axis-increments-on-a-column-chart/m-p/258277#M77377</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2016-07-12T19:05:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to change x-axis increments on a column chart?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-change-x-axis-increments-on-a-column-chart/m-p/258278#M77378</link>
      <description>&lt;P&gt;This is the result&lt;/P&gt;

&lt;P&gt;&lt;IMG src="https://dl.dropboxusercontent.com/u/30186985/Screen%20Shot%202016-07-12%20at%201.39.52%20PM.png" alt="alt text" /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Jul 2016 20:41:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-change-x-axis-increments-on-a-column-chart/m-p/258278#M77378</guid>
      <dc:creator>brianlee12</dc:creator>
      <dc:date>2016-07-12T20:41:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to change x-axis increments on a column chart?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-change-x-axis-increments-on-a-column-chart/m-p/258279#M77379</link>
      <description>&lt;P&gt;Something is wrong (negative t shouldn't come) . This should give number of rows equal to max of bandwidth. Can you try this &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;... | stats sum(uploadSize) as totalUploadSize sum(uploadDuration) as totalUploadDuration by deviceID | eval bandwidth= round((totalUploadSize)/(totalUploadDuration*0.001*131072),4)  | stats count by bandwidth  | eval _time=relative_time(now(),"@d") + bandwidth | timechart span=10s values(count)  by bandwidth | eval t=round(_time-relative_time(now(),"@d")) | fields - _time | table t * |where  t&amp;gt;0
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 12 Jul 2016 20:53:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-change-x-axis-increments-on-a-column-chart/m-p/258279#M77379</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2016-07-12T20:53:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to change x-axis increments on a column chart?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-change-x-axis-increments-on-a-column-chart/m-p/258280#M77380</link>
      <description>&lt;P&gt;It says no results found when I do that&lt;/P&gt;</description>
      <pubDate>Tue, 12 Jul 2016 21:03:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-change-x-axis-increments-on-a-column-chart/m-p/258280#M77380</guid>
      <dc:creator>brianlee12</dc:creator>
      <dc:date>2016-07-12T21:03:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to change x-axis increments on a column chart?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-change-x-axis-increments-on-a-column-chart/m-p/258281#M77381</link>
      <description>&lt;P&gt;So are you trying to set the bandwidth as the time, that way I can use a timechart to display the information?&lt;/P&gt;</description>
      <pubDate>Tue, 12 Jul 2016 21:04:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-change-x-axis-increments-on-a-column-chart/m-p/258281#M77381</guid>
      <dc:creator>brianlee12</dc:creator>
      <dc:date>2016-07-12T21:04:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to change x-axis increments on a column chart?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-change-x-axis-increments-on-a-column-chart/m-p/258282#M77382</link>
      <description>&lt;P&gt;If you know the max value, you could try this&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;... | stats sum(uploadSize) as totalUploadSize sum(uploadDuration) as totalUploadDuration by deviceID | eval bandwidth= round((totalUploadSize)/(totalUploadDuration*0.001*131072),4) | table deviceID bandwidth | stats count by bandwidth | sort + bandwidth | append [ gentimes start=-1 | eval bandwidth=mvrange(0, maxvalue, .1) | mvexpand bandwidth | table bandwidth ] | stats values(count) as count by bandwidth
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 12 Jul 2016 21:05:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-change-x-axis-increments-on-a-column-chart/m-p/258282#M77382</guid>
      <dc:creator>sundareshr</dc:creator>
      <dc:date>2016-07-12T21:05:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to change x-axis increments on a column chart?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-change-x-axis-increments-on-a-column-chart/m-p/258283#M77383</link>
      <description>&lt;P&gt;If you don't know the max, try this...&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;... | stats sum(uploadSize) as totalUploadSize sum(uploadDuration) as totalUploadDuration by deviceID | eval bandwidth= round((totalUploadSize)/(totalUploadDuration*0.001*131072),4) | table deviceID bandwidth | stats count by bandwidth | sort + bandwidth | append [ search ... | stats sum(uploadSize) as totalUploadSize sum(uploadDuration) as totalUploadDuration by deviceID | eval bandwidth= round((totalUploadSize)/(totalUploadDuration*0.001*131072),4) | stats max(bandwidth) as maxvalue | eval bandwidth=mvrange(0, maxvalue, .1) | mvexpand bandwidth | table bandwidth ] | stats values(count) as count by bandwidth
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 12 Jul 2016 21:09:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-change-x-axis-increments-on-a-column-chart/m-p/258283#M77383</guid>
      <dc:creator>sundareshr</dc:creator>
      <dc:date>2016-07-12T21:09:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to change x-axis increments on a column chart?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-change-x-axis-increments-on-a-column-chart/m-p/258284#M77384</link>
      <description>&lt;P&gt;To make x-axis markers to space out based on the x column value, I'm adding current day and then after chart substracting current day into the bandwidth. Thus there should never be a negative value for column t.  Can you try this and if it doesn't work, provide the full search that you're using?&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;... | stats sum(uploadSize) as totalUploadSize sum(uploadDuration) as totalUploadDuration by deviceID | eval bandwidth= round((totalUploadSize)/(totalUploadDuration*0.001*131072),4)  | stats count by bandwidth | eval _time=bandwidth | timechart span=2 values(count)  by bandwidth | eval t=_time | fields - _time | table t *
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 12 Jul 2016 21:09:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-change-x-axis-increments-on-a-column-chart/m-p/258284#M77384</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2016-07-12T21:09:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to change x-axis increments on a column chart?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-change-x-axis-increments-on-a-column-chart/m-p/258285#M77385</link>
      <description>&lt;P&gt;This is very close. The bars are currently being squished to the left side&lt;/P&gt;

&lt;P&gt;&lt;IMG src="https://dl.dropboxusercontent.com/u/30186985/Screen%20Shot%202016-07-12%20at%202.40.01%20PM.png" alt="alt text" /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Jul 2016 21:40:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-change-x-axis-increments-on-a-column-chart/m-p/258285#M77385</guid>
      <dc:creator>brianlee12</dc:creator>
      <dc:date>2016-07-12T21:40:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to change x-axis increments on a column chart?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-change-x-axis-increments-on-a-column-chart/m-p/258286#M77386</link>
      <description>&lt;P&gt;your first post kind of worked, for some reason its going in order of the first digit so the 2.12 value is showing up after 10&lt;/P&gt;

&lt;P&gt;&lt;IMG src="https://dl.dropboxusercontent.com/u/30186985/Screen%20Shot%202016-07-12%20at%202.43.52%20PM.png" alt="alt text" /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Jul 2016 21:45:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-change-x-axis-increments-on-a-column-chart/m-p/258286#M77386</guid>
      <dc:creator>brianlee12</dc:creator>
      <dc:date>2016-07-12T21:45:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to change x-axis increments on a column chart?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-change-x-axis-increments-on-a-column-chart/m-p/258287#M77387</link>
      <description>&lt;P&gt;fixed it by sorting it &lt;/P&gt;</description>
      <pubDate>Tue, 12 Jul 2016 21:46:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-change-x-axis-increments-on-a-column-chart/m-p/258287#M77387</guid>
      <dc:creator>brianlee12</dc:creator>
      <dc:date>2016-07-12T21:46:05Z</dc:date>
    </item>
  </channel>
</rss>

