<?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 the name of field values at y-axis in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-change-the-name-of-field-values-at-y-axis/m-p/425352#M121958</link>
    <description>&lt;P&gt;Hi @Maniteja81&lt;/P&gt;

&lt;P&gt;You can use this settings on the right hand top side of the dashboard panel to make the changes&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/5074iE75CF300CF421654/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 legend truncation gives you option to choose the y axis field values to be shown as - starting, start..end, ending.&lt;/P&gt;

&lt;P&gt;if you want to change the field values completely, you may need to rename them in the  search only.&lt;/P&gt;

&lt;P&gt;Thanks&lt;/P&gt;</description>
    <pubDate>Thu, 31 May 2018 16:32:47 GMT</pubDate>
    <dc:creator>PowerPacked</dc:creator>
    <dc:date>2018-05-31T16:32:47Z</dc:date>
    <item>
      <title>How to change the name of field values at y-axis</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-change-the-name-of-field-values-at-y-axis/m-p/425351#M121957</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;My idea is to shorten the value names at y-axis to a meaning full short names, so that it doesn't get truncated while viewing in chart. &lt;/P&gt;

&lt;P&gt;Here is my query: &lt;BR /&gt;
index=qvmr_qvmregress_r groupID=qvmr_dev rsti_thumb_print=rsti_fvcad_ds_Thu_May_10_22_06_55_2018_fvcad-jenkins-01_fvcad_ds OR rsti_thumb_print=rsti_fvcad_ds_Thu_May_10_03_45_41_2018_fvcad-jenkins-01_fvcad_ds OR rsti_thumb_print=rsti_c_vidyak_Thu_May_31_03_44_55_2018_vl-c-vidyak-ice_c_vidyak | makemv delim="," version_vector  |eval success=if(isnotnull(success) and success="","FAIL",success)|eval success=if(success="1","PASS",success)| eval success=if(success="0","FAIL",success) | eval success=if(success="-1","UNFINISHED",success)|makemv delim="," version_vector|  stats list(actual_status) as l_status,list(success) as status ,list(version_vector) as vv  by dut_id,rsti_thumb_print | eval status=if(isnull(status),"SCHEDULED",status) | search vv=* |stats count(eval(status=="PASS")) as pass_count count(eval(status=="FAIL")) as fail_count count(eval(status=="SCHEDULED")) as incmp_count count(eval("PASS"+"FAIL"+"SCHEDULED")) as total_count  by rsti_thumb_print | appendcols [search index=qvmr_qvmregress_r groupID=qvmr_dev rsti_thumb_print=rsti_fvcad_ds_Thu_May_10_22_06_55_2018_fvcad-jenkins-01_fvcad_ds upload_type!=final_status | makemv delim="," version_vector | stats count(dut_id) as max_tests by rsti_thumb_print] | eval pass_pct=round(pass_count*100/total_count,2) | eval fail_pct=round(fail_count*100/total_count,2) | eval incmp_pct=round(incmp_count*100/total_count, 2) | eval diff_tests=max_tests-total_count | stats list(diff_tests) as "Extra Tests", list(pass_pct) as "PASS %", list(fail_pct) as "FAIL %", list(incmp_pct) as "UNFINISHED %" by rsti_thumb_print | replace "rsti_fvcad_ds_Thu_May_10_22_06_55_2018_fvcad-jenkins-01_fvcad_ds" WITH RUN1, "rsti_fvcad_ds_Thu_May_10_03_45_41_2018_fvcad-jenkins-01_fvcad_ds OR rsti_thumb_print=rsti_c_vidyak_Thu_May_31_03_44_55_2018_vl-c-vidyak-ice_c_vidyak" WITH RUN2 IN rsti_thumb_print&lt;/P&gt;

&lt;P&gt;I tried replace command, but it is working only for some extent. Since i'm relying on one token to get some values, that token has default delimeter as "OR rsti_thumb_print=".  So due to this the replace command is failing. &lt;/P&gt;

&lt;P&gt;Any help will be appreciated. &lt;BR /&gt;
&lt;IMG src="https://community.splunk.com/storage/temp/250836-splunk-run-stats.jpg" alt="alt text" /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 19:44:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-change-the-name-of-field-values-at-y-axis/m-p/425351#M121957</guid>
      <dc:creator>Maniteja81</dc:creator>
      <dc:date>2020-09-29T19:44:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to change the name of field values at y-axis</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-change-the-name-of-field-values-at-y-axis/m-p/425352#M121958</link>
      <description>&lt;P&gt;Hi @Maniteja81&lt;/P&gt;

&lt;P&gt;You can use this settings on the right hand top side of the dashboard panel to make the changes&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/5074iE75CF300CF421654/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 legend truncation gives you option to choose the y axis field values to be shown as - starting, start..end, ending.&lt;/P&gt;

&lt;P&gt;if you want to change the field values completely, you may need to rename them in the  search only.&lt;/P&gt;

&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Thu, 31 May 2018 16:32:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-change-the-name-of-field-values-at-y-axis/m-p/425352#M121958</guid>
      <dc:creator>PowerPacked</dc:creator>
      <dc:date>2018-05-31T16:32:47Z</dc:date>
    </item>
  </channel>
</rss>

