<?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 X Axis (x-axis) don't show up in chart in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/X-Axis-x-axis-don-t-show-up-in-chart/m-p/31799#M6610</link>
    <description>&lt;P&gt;I have created a chart (Bar) with the following:&lt;/P&gt;

&lt;P&gt;chart count(ProductName) over ProductCalss BY StoreZones&lt;/P&gt;

&lt;P&gt;Therer were quite a numbner of rows, and there was no problem displat them.&lt;BR /&gt;
However, the X-Axis do not show the ProductName at all. The Y-Label shows the count accurately.&lt;/P&gt;

&lt;P&gt;What could have caused this?&lt;/P&gt;

&lt;P&gt;Many thanks!&lt;/P&gt;

&lt;P&gt;J&lt;/P&gt;</description>
    <pubDate>Thu, 14 Feb 2013 08:33:35 GMT</pubDate>
    <dc:creator>Joshie</dc:creator>
    <dc:date>2013-02-14T08:33:35Z</dc:date>
    <item>
      <title>X Axis (x-axis) don't show up in chart</title>
      <link>https://community.splunk.com/t5/Splunk-Search/X-Axis-x-axis-don-t-show-up-in-chart/m-p/31799#M6610</link>
      <description>&lt;P&gt;I have created a chart (Bar) with the following:&lt;/P&gt;

&lt;P&gt;chart count(ProductName) over ProductCalss BY StoreZones&lt;/P&gt;

&lt;P&gt;Therer were quite a numbner of rows, and there was no problem displat them.&lt;BR /&gt;
However, the X-Axis do not show the ProductName at all. The Y-Label shows the count accurately.&lt;/P&gt;

&lt;P&gt;What could have caused this?&lt;/P&gt;

&lt;P&gt;Many thanks!&lt;/P&gt;

&lt;P&gt;J&lt;/P&gt;</description>
      <pubDate>Thu, 14 Feb 2013 08:33:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/X-Axis-x-axis-don-t-show-up-in-chart/m-p/31799#M6610</guid>
      <dc:creator>Joshie</dc:creator>
      <dc:date>2013-02-14T08:33:35Z</dc:date>
    </item>
    <item>
      <title>Re: X Axis (x-axis) don't show up in chart</title>
      <link>https://community.splunk.com/t5/Splunk-Search/X-Axis-x-axis-don-t-show-up-in-chart/m-p/31800#M6611</link>
      <description>&lt;P&gt;You didn't ask for the ProductName to be displayed - you asked Splunk to count the number of events that contained a ProductName field. That's what &lt;CODE&gt;count(ProductName)&lt;/CODE&gt; does. You asked to see this count displayed by ProductClass (I assume there was a typo in the name) and StoreZones.&lt;/P&gt;

&lt;P&gt;If you just want a table, try this&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;yoursearchhere ProductName=*
| stats count by StoreZones ProductClass ProductName
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;If you really want a chart then go with&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;yoursearchhere ProductName=*
| chart count over StoreZones by ProductName
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;or some variant. Note that you can have as many break-out fields as you like in a &lt;CODE&gt;stats&lt;/CODE&gt; command, but only two in a &lt;CODE&gt;chart&lt;/CODE&gt; command. So you will have to pick two, or create a concatenated field, like this&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;yoursearchhere ProductName=*
| eval Product = ProductClass + ": " + ProductName
| chart count over StoreZones by Product
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 14 Feb 2013 08:46:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/X-Axis-x-axis-don-t-show-up-in-chart/m-p/31800#M6611</guid>
      <dc:creator>lguinn2</dc:creator>
      <dc:date>2013-02-14T08:46:04Z</dc:date>
    </item>
    <item>
      <title>Re: X Axis (x-axis) don't show up in chart</title>
      <link>https://community.splunk.com/t5/Splunk-Search/X-Axis-x-axis-don-t-show-up-in-chart/m-p/31801#M6612</link>
      <description>&lt;P&gt;Hi Iguinn, thanks for your response.&lt;BR /&gt;
However, what makes me ask the question is if I restrict to a smaller group (resulting in a smaller "product" range, the label came back.&lt;/P&gt;

&lt;P&gt;So I am more incline to the limitation of the charting function.&lt;/P&gt;</description>
      <pubDate>Fri, 15 Feb 2013 03:35:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/X-Axis-x-axis-don-t-show-up-in-chart/m-p/31801#M6612</guid>
      <dc:creator>Joshie</dc:creator>
      <dc:date>2013-02-15T03:35:56Z</dc:date>
    </item>
    <item>
      <title>Re: X Axis (x-axis) don't show up in chart</title>
      <link>https://community.splunk.com/t5/Splunk-Search/X-Axis-x-axis-don-t-show-up-in-chart/m-p/31802#M6613</link>
      <description>&lt;P&gt;&lt;CODE&gt;chart count by sentMessage |&lt;/CODE&gt;  or &lt;CODE&gt;chart count by sentMessage |&lt;/CODE&gt; did not make any difference to the x-axis for me. in either case the x-axis had no labels. have I understood the question/answer correctly?? tks&lt;/P&gt;</description>
      <pubDate>Wed, 20 Mar 2019 21:29:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/X-Axis-x-axis-don-t-show-up-in-chart/m-p/31802#M6613</guid>
      <dc:creator>HattrickNZ</dc:creator>
      <dc:date>2019-03-20T21:29:34Z</dc:date>
    </item>
  </channel>
</rss>

