<?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: Dynamically populate dashboard panel title in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/Dynamically-populate-dashboard-panel-title/m-p/582087#M47693</link>
    <description>&lt;P&gt;Try something like this&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;&amp;lt;form .....
  &amp;lt;fieldset submitButton="false"&amp;gt;
    &amp;lt;input type="dropdown" token="configType"&amp;gt;
      &amp;lt;label&amp;gt;Config Type&amp;lt;/label&amp;gt;
      &amp;lt;choice value="value1"&amp;gt;Admin Change&amp;lt;/choice&amp;gt;
      &amp;lt;choice value="value2"&amp;gt;Config Change&amp;lt;/choice&amp;gt;
      &amp;lt;change&amp;gt;
        &amp;lt;condition&amp;gt;
          &amp;lt;set token="panelTitle"&amp;gt;$label$&amp;lt;/set&amp;gt;
        &amp;lt;/condition&amp;gt;
      &amp;lt;/change&amp;gt;
    &amp;lt;/input&amp;gt;
  &amp;lt;/fieldset&amp;gt;
  &amp;lt;row&amp;gt;
    &amp;lt;panel&amp;gt;
      &amp;lt;title&amp;gt;Showing data for $panelTitle$&amp;lt;/title&amp;gt;
......&lt;/LI-CODE&gt;</description>
    <pubDate>Fri, 21 Jan 2022 19:37:09 GMT</pubDate>
    <dc:creator>somesoni2</dc:creator>
    <dc:date>2022-01-21T19:37:09Z</dc:date>
    <item>
      <title>Dynamically populate dashboard panel title</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Dynamically-populate-dashboard-panel-title/m-p/582085#M47692</link>
      <description>&lt;P&gt;I have a dashboard that has 3 Inputs - "Change Type", time and text box.&lt;BR /&gt;The "Change Type" is dynamically populated using "choice value" based on a search string. There are two change types, Config and Admin.&lt;BR /&gt;Example:&lt;BR /&gt;&amp;lt;form theme="dark"&amp;gt;&lt;BR /&gt;&amp;lt;label&amp;gt;Admin and Config Change Reports&amp;lt;/label&amp;gt;&lt;BR /&gt;&amp;lt;description&amp;gt;Change Events&amp;lt;/description&amp;gt;&lt;BR /&gt;&amp;lt;fieldset submitButton="true" autoRun="false"&amp;gt;&lt;BR /&gt;&amp;lt;input type="dropdown" token="tok_change" searchWhenChanged="true"&amp;gt;&lt;BR /&gt;&amp;lt;label&amp;gt;Change Type:&amp;lt;/label&amp;gt;&lt;BR /&gt;&amp;lt;choice value="index=admin_changes &amp;lt;some other spl&amp;gt;"&amp;gt;Admin change&amp;lt;/choice&amp;gt;&lt;BR /&gt;&amp;lt;choice value="index=config_changes &amp;lt;some other spl&amp;gt;"&amp;gt;Config change&amp;lt;/choice&amp;gt;&lt;/P&gt;&lt;P&gt;The users much choose from a drop down, one of the above change choices. Once the choice is made a table is populated with the results.&lt;/P&gt;&lt;P&gt;What I want to do is when the panel (table) is populated I want the "change type" to be the panel title.&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Fri, 21 Jan 2022 19:17:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Dynamically-populate-dashboard-panel-title/m-p/582085#M47692</guid>
      <dc:creator>bt149</dc:creator>
      <dc:date>2022-01-21T19:17:32Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamically populate dashboard panel title</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Dynamically-populate-dashboard-panel-title/m-p/582087#M47693</link>
      <description>&lt;P&gt;Try something like this&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;&amp;lt;form .....
  &amp;lt;fieldset submitButton="false"&amp;gt;
    &amp;lt;input type="dropdown" token="configType"&amp;gt;
      &amp;lt;label&amp;gt;Config Type&amp;lt;/label&amp;gt;
      &amp;lt;choice value="value1"&amp;gt;Admin Change&amp;lt;/choice&amp;gt;
      &amp;lt;choice value="value2"&amp;gt;Config Change&amp;lt;/choice&amp;gt;
      &amp;lt;change&amp;gt;
        &amp;lt;condition&amp;gt;
          &amp;lt;set token="panelTitle"&amp;gt;$label$&amp;lt;/set&amp;gt;
        &amp;lt;/condition&amp;gt;
      &amp;lt;/change&amp;gt;
    &amp;lt;/input&amp;gt;
  &amp;lt;/fieldset&amp;gt;
  &amp;lt;row&amp;gt;
    &amp;lt;panel&amp;gt;
      &amp;lt;title&amp;gt;Showing data for $panelTitle$&amp;lt;/title&amp;gt;
......&lt;/LI-CODE&gt;</description>
      <pubDate>Fri, 21 Jan 2022 19:37:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Dynamically-populate-dashboard-panel-title/m-p/582087#M47693</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2022-01-21T19:37:09Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamically populate dashboard panel title</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Dynamically-populate-dashboard-panel-title/m-p/582089#M47694</link>
      <description>&lt;P&gt;Thank you.&amp;nbsp; Worked like a charm.&lt;/P&gt;</description>
      <pubDate>Fri, 21 Jan 2022 19:42:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Dynamically-populate-dashboard-panel-title/m-p/582089#M47694</guid>
      <dc:creator>bt149</dc:creator>
      <dc:date>2022-01-21T19:42:29Z</dc:date>
    </item>
  </channel>
</rss>

