<?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 chart with multiple values on legend in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-chart-with-multiple-values-on-legend/m-p/470792#M132450</link>
    <description>&lt;P&gt;I don't think you can do this in a column chart. The tooltip HTML is created from a single series using the point value (X,Y) under the mouse pointer.&lt;/P&gt;

&lt;P&gt;Are you open to custom solutions, or are you restricted to pure SimpleXML?&lt;/P&gt;</description>
    <pubDate>Tue, 10 Sep 2019 13:55:23 GMT</pubDate>
    <dc:creator>tscroggins</dc:creator>
    <dc:date>2019-09-10T13:55:23Z</dc:date>
    <item>
      <title>How to chart with multiple values on legend</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-chart-with-multiple-values-on-legend/m-p/470788#M132446</link>
      <description>&lt;P&gt;I want to have different values ​​in the legend of a column and that the yaxis is a specific value of this legend.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;sourcetype="securitycenter" asset=AMER_MS_SRV OR asset=EMEA_MS_SRV OR asset=APAC_MS_SRV 
|  rex field=asset "(?.*)_MS_SRV|"
|chart  eval(round(latest(crit),0)) as C by name |eval pos = case(name=="AMER","1",name=="EMEA","2",name=="APAC","3",name==name,"4") | sort pos| eval target=1 | table name, C, target
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;In this image I want to add  &lt;CODE&gt;Totips:totalvalue&lt;/CODE&gt; to legend and y-axis are "C".&lt;/P&gt;

&lt;P&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/7620i94E252194FDFE74A/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 03 Sep 2019 15:30:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-chart-with-multiple-values-on-legend/m-p/470788#M132446</guid>
      <dc:creator>Dherom</dc:creator>
      <dc:date>2019-09-03T15:30:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to chart with multiple values on legend</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-chart-with-multiple-values-on-legend/m-p/470789#M132447</link>
      <description>&lt;P&gt;Can you clarify your question? "Totips" isn't a field in your search. If you want to display e.g. "Totips: 19" in place of "C: 19" in the tooltip, then simply replace C with Totips in your search:&lt;/P&gt;

&lt;P&gt;sourcetype="securitycenter" asset=AMER_MS_SRV OR asset=EMEA_MS_SRV OR asset=APAC_MS_SRV &lt;BR /&gt;
| rex field=asset "(?.&lt;EM&gt;)_MS_SRV|"&lt;BR /&gt;
|chart eval(round(latest(crit),0)) as **Totips&lt;/EM&gt;* by name |eval pos = case(name=="AMER","1",name=="EMEA","2",name=="APAC","3",name==name,"4") | sort pos| eval target=1 | table name, &lt;STRONG&gt;Totips&lt;/STRONG&gt;, target&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 01:58:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-chart-with-multiple-values-on-legend/m-p/470789#M132447</guid>
      <dc:creator>tscroggins</dc:creator>
      <dc:date>2020-09-30T01:58:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to chart with multiple values on legend</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-chart-with-multiple-values-on-legend/m-p/470790#M132448</link>
      <description>&lt;P&gt;I want add another value field 'totips' (on same char) and shown multiple values on same bar and this bar evaluated with 'C' field&lt;/P&gt;

&lt;P&gt;thanks you for you answer&lt;/P&gt;</description>
      <pubDate>Thu, 05 Sep 2019 08:46:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-chart-with-multiple-values-on-legend/m-p/470790#M132448</guid>
      <dc:creator>Dherom</dc:creator>
      <dc:date>2019-09-05T08:46:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to chart with multiple values on legend</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-chart-with-multiple-values-on-legend/m-p/470791#M132449</link>
      <description>&lt;P&gt;i want other value to highligh linked.&lt;BR /&gt;
Example&lt;/P&gt;

&lt;P&gt;name:AMER&lt;BR /&gt;
C:19&lt;BR /&gt;
totips:890&lt;/P&gt;

&lt;P&gt;but dont shown this bar(totips) in this panel. I did trellis values but i dont order by name, order by xaxys value(totips) and i want this.&lt;/P&gt;</description>
      <pubDate>Tue, 10 Sep 2019 08:45:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-chart-with-multiple-values-on-legend/m-p/470791#M132449</guid>
      <dc:creator>Dherom</dc:creator>
      <dc:date>2019-09-10T08:45:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to chart with multiple values on legend</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-chart-with-multiple-values-on-legend/m-p/470792#M132450</link>
      <description>&lt;P&gt;I don't think you can do this in a column chart. The tooltip HTML is created from a single series using the point value (X,Y) under the mouse pointer.&lt;/P&gt;

&lt;P&gt;Are you open to custom solutions, or are you restricted to pure SimpleXML?&lt;/P&gt;</description>
      <pubDate>Tue, 10 Sep 2019 13:55:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-chart-with-multiple-values-on-legend/m-p/470792#M132450</guid>
      <dc:creator>tscroggins</dc:creator>
      <dc:date>2019-09-10T13:55:23Z</dc:date>
    </item>
  </channel>
</rss>

