<?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: customize the chart display on selecting value from static multiselect option in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/customize-the-chart-display-on-selecting-value-from-static/m-p/484687#M135653</link>
    <description>&lt;P&gt;this is my multiselect&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;    &amp;lt;label&amp;gt;East Node&amp;lt;/label&amp;gt;
    &amp;lt;choice value="ONHOOD-SPGW-05, ONHOOD-SPGW-06, ONHOOD-SPGW-07, ONHOOD-SPGW-08, PQPTFD-SPGW-03,"&amp;gt;ALL&amp;lt;/choice&amp;gt;
    &amp;lt;choice value="ONHOOD-SPGW-05,ONHOOD-SPGW-06"&amp;gt;ONHOOD-SPGW-05/06&amp;lt;/choice&amp;gt;
    &amp;lt;choice value="ONHOOD-SPGW-07, ONHOOD-SPGW-08"&amp;gt;ONHOOD-SPGW-07/08&amp;lt;/choice&amp;gt;
    &amp;lt;choice value="PQPTFD-SPGW-03 ,PQPTFD-SPGW-04"&amp;gt;PQPTFD-SPGW-03/04&amp;lt;/choice&amp;gt;
  &amp;lt;/input&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;when ALL is selected , instead of showing the values in chart it should show "WEST", &lt;/P&gt;

&lt;P&gt;Only for ALL it should show value as  "WEST"&lt;/P&gt;

&lt;P&gt;| timechart span=15m avg(a1) as "session_current" by host &lt;/P&gt;</description>
    <pubDate>Tue, 05 May 2020 10:40:17 GMT</pubDate>
    <dc:creator>vikashperiwal</dc:creator>
    <dc:date>2020-05-05T10:40:17Z</dc:date>
    <item>
      <title>customize the chart display on selecting value from static multiselect option</title>
      <link>https://community.splunk.com/t5/Splunk-Search/customize-the-chart-display-on-selecting-value-from-static/m-p/484683#M135649</link>
      <description>&lt;P&gt;HI,&lt;/P&gt;

&lt;P&gt;I am trying to implement customized chart views, to state the issue&lt;/P&gt;

&lt;P&gt;I have static multi select input with token "host" with ALL has a value., the query has time chart some thing &lt;/P&gt;

&lt;P&gt;| timechart span=15m avg(a1) as "session_current" by host , &lt;/P&gt;

&lt;P&gt;now when ALL is selected from multi select input i see all the host in the legends in chart that ALL has, but instead of showing the values i want to show only "WEST" in the chart legends&lt;/P&gt;</description>
      <pubDate>Wed, 29 Apr 2020 16:04:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/customize-the-chart-display-on-selecting-value-from-static/m-p/484683#M135649</guid>
      <dc:creator>vikashperiwal</dc:creator>
      <dc:date>2020-04-29T16:04:00Z</dc:date>
    </item>
    <item>
      <title>Re: customize the chart display on selecting value from static multiselect option</title>
      <link>https://community.splunk.com/t5/Splunk-Search/customize-the-chart-display-on-selecting-value-from-static/m-p/484684#M135650</link>
      <description>&lt;P&gt;sample( &lt;CODE&gt;index=_internal&lt;/CODE&gt;&lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;form&amp;gt;
  &amp;lt;label&amp;gt;test&amp;lt;/label&amp;gt;
  &amp;lt;fieldset submitButton="false"&amp;gt;
    &amp;lt;input type="dropdown" token="field1"&amp;gt;
      &amp;lt;label&amp;gt;field1&amp;lt;/label&amp;gt;
      &amp;lt;choice value="sourcetype"&amp;gt;ALL&amp;lt;/choice&amp;gt;
      &amp;lt;choice value="&amp;amp;quot;WEST&amp;amp;quot;"&amp;gt;WEST&amp;lt;/choice&amp;gt;
    &amp;lt;/input&amp;gt;
  &amp;lt;/fieldset&amp;gt;
  &amp;lt;row&amp;gt;
    &amp;lt;panel&amp;gt;
      &amp;lt;chart&amp;gt;
        &amp;lt;search&amp;gt;
          &amp;lt;query&amp;gt;index=_internal
| eval sourcetype=$field1$
| timechart count by sourcetype&amp;lt;/query&amp;gt;
          &amp;lt;earliest&amp;gt;-15m&amp;lt;/earliest&amp;gt;
          &amp;lt;latest&amp;gt;now&amp;lt;/latest&amp;gt;
        &amp;lt;/search&amp;gt;
        &amp;lt;option name="charting.chart"&amp;gt;line&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.drilldown"&amp;gt;none&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.legend.mode"&amp;gt;standard&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.legend.placement"&amp;gt;bottom&amp;lt;/option&amp;gt;
        &amp;lt;option name="refresh.display"&amp;gt;progressbar&amp;lt;/option&amp;gt;
      &amp;lt;/chart&amp;gt;
    &amp;lt;/panel&amp;gt;
  &amp;lt;/row&amp;gt;
&amp;lt;/form&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 29 Apr 2020 23:12:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/customize-the-chart-display-on-selecting-value-from-static/m-p/484684#M135650</guid>
      <dc:creator>to4kawa</dc:creator>
      <dc:date>2020-04-29T23:12:03Z</dc:date>
    </item>
    <item>
      <title>Re: customize the chart display on selecting value from static multiselect option</title>
      <link>https://community.splunk.com/t5/Splunk-Search/customize-the-chart-display-on-selecting-value-from-static/m-p/484685#M135651</link>
      <description>&lt;P&gt;Here s some confusion, let me explain more on my issue&lt;/P&gt;

&lt;P&gt;Multiselect &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;    &amp;lt;label&amp;gt;West Node&amp;lt;/label&amp;gt;
    &amp;lt;choice value="ABBRLW-SPGW-05"&amp;gt;ALL&amp;lt;/choice&amp;gt;
  &amp;lt;/input&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Query:&lt;BR /&gt;
index=cisco_asr5k_bulkstats sourcetype="cisco:asr5k:spgw:apn:apnSch2" apn ="ctracker.telus.iot" schema_type=apn host IN ($tok_west_sess$) sess_curr=* &lt;/P&gt;

&lt;P&gt;| timechart span=$timeresolution$ avg(a1) as "session_current" by host &lt;/P&gt;

&lt;P&gt;So when All is selected from multiselect , chart i dont want to show the host name "ABBRLW-SPGW-05" but a dummay value "West" to be displayed&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 05:10:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/customize-the-chart-display-on-selecting-value-from-static/m-p/484685#M135651</guid>
      <dc:creator>vikashperiwal</dc:creator>
      <dc:date>2020-09-30T05:10:43Z</dc:date>
    </item>
    <item>
      <title>Re: customize the chart display on selecting value from static multiselect option</title>
      <link>https://community.splunk.com/t5/Splunk-Search/customize-the-chart-display-on-selecting-value-from-static/m-p/484686#M135652</link>
      <description>&lt;PRE&gt;&lt;CODE&gt;....
|rename ABBRLW-SPGW-05 as West
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;append finally.&lt;/P&gt;</description>
      <pubDate>Thu, 30 Apr 2020 05:09:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/customize-the-chart-display-on-selecting-value-from-static/m-p/484686#M135652</guid>
      <dc:creator>to4kawa</dc:creator>
      <dc:date>2020-04-30T05:09:20Z</dc:date>
    </item>
    <item>
      <title>Re: customize the chart display on selecting value from static multiselect option</title>
      <link>https://community.splunk.com/t5/Splunk-Search/customize-the-chart-display-on-selecting-value-from-static/m-p/484687#M135653</link>
      <description>&lt;P&gt;this is my multiselect&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;    &amp;lt;label&amp;gt;East Node&amp;lt;/label&amp;gt;
    &amp;lt;choice value="ONHOOD-SPGW-05, ONHOOD-SPGW-06, ONHOOD-SPGW-07, ONHOOD-SPGW-08, PQPTFD-SPGW-03,"&amp;gt;ALL&amp;lt;/choice&amp;gt;
    &amp;lt;choice value="ONHOOD-SPGW-05,ONHOOD-SPGW-06"&amp;gt;ONHOOD-SPGW-05/06&amp;lt;/choice&amp;gt;
    &amp;lt;choice value="ONHOOD-SPGW-07, ONHOOD-SPGW-08"&amp;gt;ONHOOD-SPGW-07/08&amp;lt;/choice&amp;gt;
    &amp;lt;choice value="PQPTFD-SPGW-03 ,PQPTFD-SPGW-04"&amp;gt;PQPTFD-SPGW-03/04&amp;lt;/choice&amp;gt;
  &amp;lt;/input&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;when ALL is selected , instead of showing the values in chart it should show "WEST", &lt;/P&gt;

&lt;P&gt;Only for ALL it should show value as  "WEST"&lt;/P&gt;

&lt;P&gt;| timechart span=15m avg(a1) as "session_current" by host &lt;/P&gt;</description>
      <pubDate>Tue, 05 May 2020 10:40:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/customize-the-chart-display-on-selecting-value-from-static/m-p/484687#M135653</guid>
      <dc:creator>vikashperiwal</dc:creator>
      <dc:date>2020-05-05T10:40:17Z</dc:date>
    </item>
    <item>
      <title>Re: customize the chart display on selecting value from static multiselect option</title>
      <link>https://community.splunk.com/t5/Splunk-Search/customize-the-chart-display-on-selecting-value-from-static/m-p/484688#M135654</link>
      <description>&lt;P&gt;The dashboard won't work with the information you're presenting.&lt;BR /&gt;
There is not token. &lt;/P&gt;</description>
      <pubDate>Tue, 05 May 2020 11:18:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/customize-the-chart-display-on-selecting-value-from-static/m-p/484688#M135654</guid>
      <dc:creator>to4kawa</dc:creator>
      <dc:date>2020-05-05T11:18:49Z</dc:date>
    </item>
    <item>
      <title>Re: customize the chart display on selecting value from static multiselect option</title>
      <link>https://community.splunk.com/t5/Splunk-Search/customize-the-chart-display-on-selecting-value-from-static/m-p/484689#M135655</link>
      <description>&lt;P&gt;Here it is&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;    &amp;lt;label&amp;gt;West&amp;lt;/label&amp;gt;
 &amp;lt;choice value="ONHOOD-SPGW-05, ONHOOD-SPGW-06, ONHOOD-SPGW-07, ONHOOD-SPGW-08, PQPTFD-SPGW-03,"&amp;gt;ALL&amp;lt;/choice&amp;gt;
 &amp;lt;choice value="ONHOOD-SPGW-05,ONHOOD-SPGW-06"&amp;gt;ONHOOD-SPGW-05/06&amp;lt;/choice&amp;gt;
 &amp;lt;choice value="ONHOOD-SPGW-07, ONHOOD-SPGW-08"&amp;gt;ONHOOD-SPGW-07/08&amp;lt;/choice&amp;gt;
 &amp;lt;choice value="PQPTFD-SPGW-03 ,PQPTFD-SPGW-04"&amp;gt;PQPTFD-SPGW-03/04&amp;lt;/choice&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;This is just the multi select tab i am showing here, rest token is passed in my query.. query is working fine, only enhancement i want is for &lt;BR /&gt;
when ALL is selected , instead of showing the values in chart it should show "WEST",&lt;/P&gt;

&lt;P&gt;Only for ALL it should show value as "WEST"&lt;/P&gt;

&lt;P&gt;| timechart span=15m avg(a1) as "session_current" by host&lt;/P&gt;</description>
      <pubDate>Tue, 05 May 2020 12:11:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/customize-the-chart-display-on-selecting-value-from-static/m-p/484689#M135655</guid>
      <dc:creator>vikashperiwal</dc:creator>
      <dc:date>2020-05-05T12:11:26Z</dc:date>
    </item>
  </channel>
</rss>

