<?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 How to show non number values on y axis on a chart in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-show-non-number-values-on-y-axis-on-a-chart/m-p/301688#M90850</link>
    <description>&lt;P&gt;I have the following search and I would like to present instead of the 40 dummy values, the actual name of the field Report_Milestone.&lt;/P&gt;

&lt;P&gt;the code I am using:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| inputcsv MilestonesCSV 
| dedup Report_Milestone 
| fieldformat TaskDeadline = strftime(TaskDeadline, "%d/%m/%Y") 
| eval milestoneNumber = 1
| eval Day1ofWeek = strftime(relative_time(TaskDeadline,"@w0"),"%d/%m/%y")
| table TaskDeadline Report_Milestone milestoneNumber Day1ofWeek
| chart sum(milestoneNumber) over Day1ofWeek by Report_Milestone
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;The chart output:&lt;BR /&gt;
&lt;span class="lia-inline-image-display-wrapper" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/2706i651C99B8D23121B8/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;The y axis expects to see only number values, and instead of the 40 values, I would like to see the values on the left - the names ("Report_Milestone1").&lt;/P&gt;</description>
    <pubDate>Tue, 04 Apr 2017 13:22:27 GMT</pubDate>
    <dc:creator>matansocher</dc:creator>
    <dc:date>2017-04-04T13:22:27Z</dc:date>
    <item>
      <title>How to show non number values on y axis on a chart</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-show-non-number-values-on-y-axis-on-a-chart/m-p/301688#M90850</link>
      <description>&lt;P&gt;I have the following search and I would like to present instead of the 40 dummy values, the actual name of the field Report_Milestone.&lt;/P&gt;

&lt;P&gt;the code I am using:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| inputcsv MilestonesCSV 
| dedup Report_Milestone 
| fieldformat TaskDeadline = strftime(TaskDeadline, "%d/%m/%Y") 
| eval milestoneNumber = 1
| eval Day1ofWeek = strftime(relative_time(TaskDeadline,"@w0"),"%d/%m/%y")
| table TaskDeadline Report_Milestone milestoneNumber Day1ofWeek
| chart sum(milestoneNumber) over Day1ofWeek by Report_Milestone
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;The chart output:&lt;BR /&gt;
&lt;span class="lia-inline-image-display-wrapper" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/2706i651C99B8D23121B8/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;The y axis expects to see only number values, and instead of the 40 values, I would like to see the values on the left - the names ("Report_Milestone1").&lt;/P&gt;</description>
      <pubDate>Tue, 04 Apr 2017 13:22:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-show-non-number-values-on-y-axis-on-a-chart/m-p/301688#M90850</guid>
      <dc:creator>matansocher</dc:creator>
      <dc:date>2017-04-04T13:22:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to show non number values on y axis on a chart</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-show-non-number-values-on-y-axis-on-a-chart/m-p/301689#M90851</link>
      <description>&lt;P&gt;The quickest thing I would try is, change to this... &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; | chart count over Day1ofWeek by Report_Milestone
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;...and switch the display format to show multiple independent series.  That way you get one chart per report milestone, with one data point per milestone across the time in question.  &lt;/P&gt;

&lt;P&gt;It feels like &lt;CODE&gt;chart&lt;/CODE&gt; is not the right tool for this, though I don't know offhand what the right one would be for displaying single, independently labeled events.&lt;/P&gt;</description>
      <pubDate>Tue, 04 Apr 2017 17:19:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-show-non-number-values-on-y-axis-on-a-chart/m-p/301689#M90851</guid>
      <dc:creator>DalJeanis</dc:creator>
      <dc:date>2017-04-04T17:19:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to show non number values on y axis on a chart</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-show-non-number-values-on-y-axis-on-a-chart/m-p/301690#M90852</link>
      <description>&lt;P&gt;I think that you would be better off with a custom visualization; check out these:&lt;/P&gt;

&lt;P&gt;&lt;A href="https://splunkbase.splunk.com/app/3120/"&gt;https://splunkbase.splunk.com/app/3120/&lt;/A&gt;&lt;BR /&gt;
&lt;A href="https://splunkbase.splunk.com/app/581/"&gt;https://splunkbase.splunk.com/app/581/&lt;/A&gt;&lt;BR /&gt;
&lt;A href="https://splunkbase.splunk.com/app/1741/"&gt;https://splunkbase.splunk.com/app/1741/&lt;/A&gt;&lt;BR /&gt;
&lt;A href="https://splunkbase.splunk.com/app/3468/"&gt;https://splunkbase.splunk.com/app/3468/&lt;/A&gt;&lt;BR /&gt;
&lt;A href="https://splunkbase.splunk.com/app/3380/"&gt;https://splunkbase.splunk.com/app/3380/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Apr 2017 20:21:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-show-non-number-values-on-y-axis-on-a-chart/m-p/301690#M90852</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2017-04-04T20:21:16Z</dc:date>
    </item>
  </channel>
</rss>

