<?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: display the dropdown content as Chart title in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/display-the-dropdown-content-as-Chart-title/m-p/136302#M37277</link>
    <description>&lt;P&gt;Just used $dropdowntokenname$ in place of title text. Example:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;form&amp;gt;
  &amp;lt;label&amp;gt;DynamicChartTitle&amp;lt;/label&amp;gt;
  &amp;lt;description/&amp;gt;
  &amp;lt;fieldset autoRun="true" submitButton="true"&amp;gt;
    &amp;lt;input type="time" searchWhenChanged="true"&amp;gt;
      &amp;lt;default&amp;gt;
        &amp;lt;earliestTime&amp;gt;-15m&amp;lt;/earliestTime&amp;gt;
        &amp;lt;latestTime&amp;gt;now&amp;lt;/latestTime&amp;gt;
      &amp;lt;/default&amp;gt;
    &amp;lt;/input&amp;gt;
    &amp;lt;input type="dropdown" token="sourcetype" id="field3"&amp;gt;
      &amp;lt;label&amp;gt;sourcetype :&amp;lt;/label&amp;gt;
      &amp;lt;default&amp;gt;*&amp;lt;/default&amp;gt;
      &amp;lt;choice value="*"&amp;gt;All&amp;lt;/choice&amp;gt;
      &amp;lt;populatingSearch fieldForValue="sourcetype" fieldForLabel="sourcetype"&amp;gt;
        &amp;lt;![CDATA[ index=_internal | stats count by sourcetype | fields sourcetype]]&amp;gt;
      &amp;lt;/populatingSearch&amp;gt;
    &amp;lt;/input&amp;gt;
  &amp;lt;/fieldset&amp;gt;
  &amp;lt;row&amp;gt;
    &amp;lt;chart&amp;gt;
      &amp;lt;title&amp;gt;DefaultTitle- $sourcetype$&amp;lt;/title&amp;gt;
      &amp;lt;searchString&amp;gt;index=_internal | stats count by sourcetype&amp;lt;/searchString&amp;gt;
      &amp;lt;earliestTime&amp;gt;$earliest$&amp;lt;/earliestTime&amp;gt;
      &amp;lt;latestTime&amp;gt;$latest$&amp;lt;/latestTime&amp;gt;
    &amp;lt;/chart&amp;gt;
  &amp;lt;/row&amp;gt;
&amp;lt;/form&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Tue, 04 Feb 2014 14:10:32 GMT</pubDate>
    <dc:creator>somesoni2</dc:creator>
    <dc:date>2014-02-04T14:10:32Z</dc:date>
    <item>
      <title>display the dropdown content as Chart title</title>
      <link>https://community.splunk.com/t5/Splunk-Search/display-the-dropdown-content-as-Chart-title/m-p/136301#M37276</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I am using a xml code for showing a dropdown as follows:-&lt;/P&gt;

&lt;P&gt;&lt;IMG src="http://answers.splunk.com//storage/kpiname.png" alt="alt text" /&gt;&lt;/P&gt;

&lt;P&gt;I want to display the content of dropdown, i.e.DataCall or Datarecieve as the title of the chart. And it should change as per the selection of dropdown.&lt;/P&gt;

&lt;P&gt;Sorry I was not able to put the code directly, so I am attaching an image of it.&lt;/P&gt;

&lt;P&gt;Please Help&lt;/P&gt;</description>
      <pubDate>Tue, 04 Feb 2014 11:26:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/display-the-dropdown-content-as-Chart-title/m-p/136301#M37276</guid>
      <dc:creator>harshal_chakran</dc:creator>
      <dc:date>2014-02-04T11:26:45Z</dc:date>
    </item>
    <item>
      <title>Re: display the dropdown content as Chart title</title>
      <link>https://community.splunk.com/t5/Splunk-Search/display-the-dropdown-content-as-Chart-title/m-p/136302#M37277</link>
      <description>&lt;P&gt;Just used $dropdowntokenname$ in place of title text. Example:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;form&amp;gt;
  &amp;lt;label&amp;gt;DynamicChartTitle&amp;lt;/label&amp;gt;
  &amp;lt;description/&amp;gt;
  &amp;lt;fieldset autoRun="true" submitButton="true"&amp;gt;
    &amp;lt;input type="time" searchWhenChanged="true"&amp;gt;
      &amp;lt;default&amp;gt;
        &amp;lt;earliestTime&amp;gt;-15m&amp;lt;/earliestTime&amp;gt;
        &amp;lt;latestTime&amp;gt;now&amp;lt;/latestTime&amp;gt;
      &amp;lt;/default&amp;gt;
    &amp;lt;/input&amp;gt;
    &amp;lt;input type="dropdown" token="sourcetype" id="field3"&amp;gt;
      &amp;lt;label&amp;gt;sourcetype :&amp;lt;/label&amp;gt;
      &amp;lt;default&amp;gt;*&amp;lt;/default&amp;gt;
      &amp;lt;choice value="*"&amp;gt;All&amp;lt;/choice&amp;gt;
      &amp;lt;populatingSearch fieldForValue="sourcetype" fieldForLabel="sourcetype"&amp;gt;
        &amp;lt;![CDATA[ index=_internal | stats count by sourcetype | fields sourcetype]]&amp;gt;
      &amp;lt;/populatingSearch&amp;gt;
    &amp;lt;/input&amp;gt;
  &amp;lt;/fieldset&amp;gt;
  &amp;lt;row&amp;gt;
    &amp;lt;chart&amp;gt;
      &amp;lt;title&amp;gt;DefaultTitle- $sourcetype$&amp;lt;/title&amp;gt;
      &amp;lt;searchString&amp;gt;index=_internal | stats count by sourcetype&amp;lt;/searchString&amp;gt;
      &amp;lt;earliestTime&amp;gt;$earliest$&amp;lt;/earliestTime&amp;gt;
      &amp;lt;latestTime&amp;gt;$latest$&amp;lt;/latestTime&amp;gt;
    &amp;lt;/chart&amp;gt;
  &amp;lt;/row&amp;gt;
&amp;lt;/form&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 04 Feb 2014 14:10:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/display-the-dropdown-content-as-Chart-title/m-p/136302#M37277</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2014-02-04T14:10:32Z</dc:date>
    </item>
    <item>
      <title>Re: display the dropdown content as Chart title</title>
      <link>https://community.splunk.com/t5/Splunk-Search/display-the-dropdown-content-as-Chart-title/m-p/136303#M37278</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;
Thanks for the reply somesoni2.&lt;BR /&gt;
I have already define one token, as shown above i.e."user1", which I am using in a searchstring. Is it possible to define another token for the choice content?&lt;/P&gt;</description>
      <pubDate>Wed, 05 Feb 2014 12:17:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/display-the-dropdown-content-as-Chart-title/m-p/136303#M37278</guid>
      <dc:creator>harshal_chakran</dc:creator>
      <dc:date>2014-02-05T12:17:27Z</dc:date>
    </item>
    <item>
      <title>Re: display the dropdown content as Chart title</title>
      <link>https://community.splunk.com/t5/Splunk-Search/display-the-dropdown-content-as-Chart-title/m-p/136304#M37279</link>
      <description>&lt;P&gt;You can use your token user1 everywhere, you don't have to define another token for same value. Hope this is what you are asking here.&lt;/P&gt;</description>
      <pubDate>Wed, 05 Feb 2014 15:58:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/display-the-dropdown-content-as-Chart-title/m-p/136304#M37279</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2014-02-05T15:58:12Z</dc:date>
    </item>
  </channel>
</rss>

