<?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: Use Token in Dashboard Title in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/Use-Token-in-Dashboard-Title/m-p/449550#M29551</link>
    <description>&lt;P&gt;niketnilay actually managed to give me a totally usable workaround, I've already checked it off as the accepted answer. That might help you out too!&lt;/P&gt;</description>
    <pubDate>Mon, 19 Aug 2019 11:49:16 GMT</pubDate>
    <dc:creator>Haybuck15</dc:creator>
    <dc:date>2019-08-19T11:49:16Z</dc:date>
    <item>
      <title>Use Token in Dashboard Title</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Use-Token-in-Dashboard-Title/m-p/449546#M29547</link>
      <description>&lt;P&gt;I have a dashboard that is only accessible via drilldown. When drilldown occurs, a hostname is passed to this dashboard, and all filters are set to invisible using the "depends" attribute.&lt;/P&gt;

&lt;P&gt;I need to set the title of the &lt;STRONG&gt;dashboard&lt;/STRONG&gt; (not a panel within the dashboard, but the dashboard itself) as the hostname that was passed to it. Here's the code I have so far, this is not currently working. Instead, Splunk is presenting the literal text "$server$". Can anyone please help?&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;form&amp;gt;
  &amp;lt;label&amp;gt;Windows Monitor &amp;gt; $server$&amp;lt;/label&amp;gt;
  &amp;lt;fieldset submitButton="false"&amp;gt;
    &amp;lt;input type="text" token="server" depends="$thisTokenDoesNotExist$"&amp;gt;&amp;lt;/input&amp;gt;
  &amp;lt;/fieldset&amp;gt;
  ...
&amp;lt;/form&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;So when the token passed is "form.server=MYSERVER", I want the dashboard label to display as:&lt;/P&gt;

&lt;P&gt;Windows Monitor &amp;gt; MYSERVER&lt;/P&gt;</description>
      <pubDate>Tue, 13 Aug 2019 17:24:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Use-Token-in-Dashboard-Title/m-p/449546#M29547</guid>
      <dc:creator>Haybuck15</dc:creator>
      <dc:date>2019-08-13T17:24:50Z</dc:date>
    </item>
    <item>
      <title>Re: Use Token in Dashboard Title</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Use-Token-in-Dashboard-Title/m-p/449547#M29548</link>
      <description>&lt;P&gt;@Haybuck15 refer to one of my older answers with a workaround where you would need to &lt;/P&gt;

&lt;P&gt;1) Hide the Dashboard Title&lt;BR /&gt;
2) Move the input to a new panel&lt;BR /&gt;
3) Create html panel with dashboard title and use token from input.&lt;/P&gt;

&lt;P&gt;&lt;A href="https://answers.splunk.com/answers/712013/how-do-you-display-the-date-in-a-dashboard-title.html"&gt;https://answers.splunk.com/answers/712013/how-do-you-display-the-date-in-a-dashboard-title.html&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Please try out and confirm!&lt;/P&gt;</description>
      <pubDate>Tue, 13 Aug 2019 18:59:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Use-Token-in-Dashboard-Title/m-p/449547#M29548</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2019-08-13T18:59:30Z</dc:date>
    </item>
    <item>
      <title>Re: Use Token in Dashboard Title</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Use-Token-in-Dashboard-Title/m-p/449548#M29549</link>
      <description>&lt;P&gt;That worked perfectly first shot! I also never realized you could have part HTML and part Simple XML in a panel, for some reason I'd always thought you had to mark that the entire panel was HTML for it to read ANY HTML, no idea why I had that notion.&lt;/P&gt;

&lt;P&gt;Thank you so much!&lt;/P&gt;</description>
      <pubDate>Tue, 13 Aug 2019 19:11:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Use-Token-in-Dashboard-Title/m-p/449548#M29549</guid>
      <dc:creator>Haybuck15</dc:creator>
      <dc:date>2019-08-13T19:11:14Z</dc:date>
    </item>
    <item>
      <title>Re: Use Token in Dashboard Title</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Use-Token-in-Dashboard-Title/m-p/449549#M29550</link>
      <description>&lt;P&gt;I have never been able to get this to work.&lt;/P&gt;</description>
      <pubDate>Fri, 16 Aug 2019 20:59:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Use-Token-in-Dashboard-Title/m-p/449549#M29550</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2019-08-16T20:59:18Z</dc:date>
    </item>
    <item>
      <title>Re: Use Token in Dashboard Title</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Use-Token-in-Dashboard-Title/m-p/449550#M29551</link>
      <description>&lt;P&gt;niketnilay actually managed to give me a totally usable workaround, I've already checked it off as the accepted answer. That might help you out too!&lt;/P&gt;</description>
      <pubDate>Mon, 19 Aug 2019 11:49:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Use-Token-in-Dashboard-Title/m-p/449550#M29551</guid>
      <dc:creator>Haybuck15</dc:creator>
      <dc:date>2019-08-19T11:49:16Z</dc:date>
    </item>
  </channel>
</rss>

