<?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 Is it possible rename values when displayed on a chart? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Is-it-possible-rename-values-when-displayed-on-a-chart/m-p/179782#M51770</link>
    <description>&lt;P&gt;I am trying to produce a query that represents a bunch of queries concatenated. My search is in a dashboard and looks like:&lt;/P&gt;

&lt;BLOCKQUOTE&gt;
&lt;P&gt;index=$index$ name=$name$ | eval min=round(min,3) | eval max=round(max,3) | chart values(min) as Min, values(max) as Max by path&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;

&lt;P&gt;When $name$ is specified, I get a chart over a range of 'paths' from 1-&amp;gt;50. Each valid $name$ has 50 paths. If I set name=*, then I get conflicting values for each path (i.e., every $name$ has the same path names), so charting the results doesn't produce anything. I believe I could get around this if I could rename the paths to, for example, concatenate the names (e.g., path=name.path) - but I can't seem to get the query to cooperate. The ideal result is that the final chart resembles each of the individual charts concatenated together side by side.&lt;/P&gt;

&lt;P&gt;Data is stored as comma delimited key=value pairs. E.g., name=my_test,path=1,min=3.917,max=5.232.&lt;/P&gt;

&lt;P&gt;Any suggestions?&lt;/P&gt;

&lt;P&gt;Much thanks!&lt;/P&gt;</description>
    <pubDate>Tue, 04 Nov 2014 20:29:35 GMT</pubDate>
    <dc:creator>asherman</dc:creator>
    <dc:date>2014-11-04T20:29:35Z</dc:date>
    <item>
      <title>Is it possible rename values when displayed on a chart?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Is-it-possible-rename-values-when-displayed-on-a-chart/m-p/179782#M51770</link>
      <description>&lt;P&gt;I am trying to produce a query that represents a bunch of queries concatenated. My search is in a dashboard and looks like:&lt;/P&gt;

&lt;BLOCKQUOTE&gt;
&lt;P&gt;index=$index$ name=$name$ | eval min=round(min,3) | eval max=round(max,3) | chart values(min) as Min, values(max) as Max by path&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;

&lt;P&gt;When $name$ is specified, I get a chart over a range of 'paths' from 1-&amp;gt;50. Each valid $name$ has 50 paths. If I set name=*, then I get conflicting values for each path (i.e., every $name$ has the same path names), so charting the results doesn't produce anything. I believe I could get around this if I could rename the paths to, for example, concatenate the names (e.g., path=name.path) - but I can't seem to get the query to cooperate. The ideal result is that the final chart resembles each of the individual charts concatenated together side by side.&lt;/P&gt;

&lt;P&gt;Data is stored as comma delimited key=value pairs. E.g., name=my_test,path=1,min=3.917,max=5.232.&lt;/P&gt;

&lt;P&gt;Any suggestions?&lt;/P&gt;

&lt;P&gt;Much thanks!&lt;/P&gt;</description>
      <pubDate>Tue, 04 Nov 2014 20:29:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Is-it-possible-rename-values-when-displayed-on-a-chart/m-p/179782#M51770</guid>
      <dc:creator>asherman</dc:creator>
      <dc:date>2014-11-04T20:29:35Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible rename values when displayed on a chart?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Is-it-possible-rename-values-when-displayed-on-a-chart/m-p/179783#M51771</link>
      <description>&lt;P&gt;This should work:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=$index$ name=$name$ | eval min=round(min,3) | eval max=round(max,3)
| eval name_path = name ."_". path
| chart values(min) as Min, values(max) as Max by name_path
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 04 Nov 2014 20:49:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Is-it-possible-rename-values-when-displayed-on-a-chart/m-p/179783#M51771</guid>
      <dc:creator>martin_mueller</dc:creator>
      <dc:date>2014-11-04T20:49:50Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible rename values when displayed on a chart?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Is-it-possible-rename-values-when-displayed-on-a-chart/m-p/179784#M51772</link>
      <description>&lt;P&gt;Ahh, thanks. I was trying to change the name after the chart, but this makes a lot more sense!&lt;/P&gt;</description>
      <pubDate>Tue, 04 Nov 2014 21:00:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Is-it-possible-rename-values-when-displayed-on-a-chart/m-p/179784#M51772</guid>
      <dc:creator>asherman</dc:creator>
      <dc:date>2014-11-04T21:00:20Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible rename values when displayed on a chart?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Is-it-possible-rename-values-when-displayed-on-a-chart/m-p/179785#M51773</link>
      <description>&lt;P&gt;After a &lt;CODE&gt;chart foo by path&lt;/CODE&gt; there is no &lt;CODE&gt;name&lt;/CODE&gt; field left to use &lt;span class="lia-unicode-emoji" title=":face_with_tongue:"&gt;😛&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Nov 2014 21:36:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Is-it-possible-rename-values-when-displayed-on-a-chart/m-p/179785#M51773</guid>
      <dc:creator>martin_mueller</dc:creator>
      <dc:date>2014-11-04T21:36:06Z</dc:date>
    </item>
  </channel>
</rss>

