<?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 SimpleResultsHeader include intention field in chart title in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/SimpleResultsHeader-include-intention-field-in-chart-title/m-p/44785#M2196</link>
    <description>&lt;P&gt;I have a form that displays metrics on a single host.  The url can include the hostname, or the user can put the hostname into a input field on the page.  My "intention" name is HOST and I would like to display this value above charts on the page so screen captures include the host name next to the graph.&lt;/P&gt;

&lt;P&gt;Here is my &lt;STRONG&gt;intention&lt;/STRONG&gt; defintion (sorry about formatting.. need more Karma!).&lt;/P&gt;

&lt;P&gt;&amp;lt;module name="ExtendedFieldSearch" layoutPanel="viewHeader" autoRun="True"&amp;gt;&lt;BR /&gt;&lt;BR /&gt;
&amp;lt;param name="&lt;STRONG&gt;intention&lt;/STRONG&gt;"&amp;gt;&lt;BR /&gt;&lt;BR /&gt;
&amp;lt;param name="arg"&amp;gt;&lt;BR /&gt;
&amp;lt;param name="&lt;STRONG&gt;HOST&lt;/STRONG&gt;"&amp;gt;&lt;BR /&gt;&lt;BR /&gt;
&amp;lt;param name="default"&amp;gt;paehowuw16103&amp;lt;/param&amp;gt;&lt;BR /&gt;&lt;BR /&gt;
&amp;lt;param name="fillOnEmpty"&amp;gt;True&amp;lt;/param&amp;gt;&lt;BR /&gt;&lt;BR /&gt;
&amp;lt;/param&amp;gt;&amp;lt;/param&amp;gt;&lt;BR /&gt;&lt;BR /&gt;
&amp;lt;param name="name"&amp;gt;stringreplace&amp;lt;/param&amp;gt;&lt;BR /&gt;&lt;BR /&gt;
&amp;lt;/param&amp;gt;&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;Is there a way to see what variables are available that can be displayed in the SimpleResultsHeader?&lt;/STRONG&gt; &lt;/P&gt;

&lt;P&gt;I have a Simple Results Header directly above &amp;lt;module name="HiddenChartFormatter"&amp;gt;&lt;BR /&gt;
$count$ and simple things display fine, I am just not sure how to display the &lt;STRONG&gt;HOST&lt;/STRONG&gt;.  $click.fields.HOST$ displays &lt;STRONG&gt;null&lt;/STRONG&gt;.&lt;/P&gt;

&lt;P&gt;&amp;lt;module name="SimpleResultsHeader"&amp;gt;&lt;BR /&gt;&lt;BR /&gt;
  &amp;lt;param name="headerFormat"&amp;gt;$count$ results at $time$ for $click.fields.HOST$&amp;lt;/param&amp;gt;&lt;BR /&gt;
  &amp;lt;param name="entityName"&amp;gt;results&amp;lt;/param&amp;gt;&lt;BR /&gt;
&amp;lt;/module&amp;gt;&lt;/P&gt;</description>
    <pubDate>Fri, 23 Aug 2013 14:44:37 GMT</pubDate>
    <dc:creator>andrewfl</dc:creator>
    <dc:date>2013-08-23T14:44:37Z</dc:date>
    <item>
      <title>SimpleResultsHeader include intention field in chart title</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/SimpleResultsHeader-include-intention-field-in-chart-title/m-p/44785#M2196</link>
      <description>&lt;P&gt;I have a form that displays metrics on a single host.  The url can include the hostname, or the user can put the hostname into a input field on the page.  My "intention" name is HOST and I would like to display this value above charts on the page so screen captures include the host name next to the graph.&lt;/P&gt;

&lt;P&gt;Here is my &lt;STRONG&gt;intention&lt;/STRONG&gt; defintion (sorry about formatting.. need more Karma!).&lt;/P&gt;

&lt;P&gt;&amp;lt;module name="ExtendedFieldSearch" layoutPanel="viewHeader" autoRun="True"&amp;gt;&lt;BR /&gt;&lt;BR /&gt;
&amp;lt;param name="&lt;STRONG&gt;intention&lt;/STRONG&gt;"&amp;gt;&lt;BR /&gt;&lt;BR /&gt;
&amp;lt;param name="arg"&amp;gt;&lt;BR /&gt;
&amp;lt;param name="&lt;STRONG&gt;HOST&lt;/STRONG&gt;"&amp;gt;&lt;BR /&gt;&lt;BR /&gt;
&amp;lt;param name="default"&amp;gt;paehowuw16103&amp;lt;/param&amp;gt;&lt;BR /&gt;&lt;BR /&gt;
&amp;lt;param name="fillOnEmpty"&amp;gt;True&amp;lt;/param&amp;gt;&lt;BR /&gt;&lt;BR /&gt;
&amp;lt;/param&amp;gt;&amp;lt;/param&amp;gt;&lt;BR /&gt;&lt;BR /&gt;
&amp;lt;param name="name"&amp;gt;stringreplace&amp;lt;/param&amp;gt;&lt;BR /&gt;&lt;BR /&gt;
&amp;lt;/param&amp;gt;&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;Is there a way to see what variables are available that can be displayed in the SimpleResultsHeader?&lt;/STRONG&gt; &lt;/P&gt;

&lt;P&gt;I have a Simple Results Header directly above &amp;lt;module name="HiddenChartFormatter"&amp;gt;&lt;BR /&gt;
$count$ and simple things display fine, I am just not sure how to display the &lt;STRONG&gt;HOST&lt;/STRONG&gt;.  $click.fields.HOST$ displays &lt;STRONG&gt;null&lt;/STRONG&gt;.&lt;/P&gt;

&lt;P&gt;&amp;lt;module name="SimpleResultsHeader"&amp;gt;&lt;BR /&gt;&lt;BR /&gt;
  &amp;lt;param name="headerFormat"&amp;gt;$count$ results at $time$ for $click.fields.HOST$&amp;lt;/param&amp;gt;&lt;BR /&gt;
  &amp;lt;param name="entityName"&amp;gt;results&amp;lt;/param&amp;gt;&lt;BR /&gt;
&amp;lt;/module&amp;gt;&lt;/P&gt;</description>
      <pubDate>Fri, 23 Aug 2013 14:44:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/SimpleResultsHeader-include-intention-field-in-chart-title/m-p/44785#M2196</guid>
      <dc:creator>andrewfl</dc:creator>
      <dc:date>2013-08-23T14:44:37Z</dc:date>
    </item>
    <item>
      <title>Re: SimpleResultsHeader include intention field in chart title</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/SimpleResultsHeader-include-intention-field-in-chart-title/m-p/44786#M2197</link>
      <description>&lt;P&gt;I found correct syntax for displaying form field values in the chart header.  See page on dynamic drilldowns and the section titled &lt;STRONG&gt;Syntax for specifying destinations&lt;/STRONG&gt; and look at click.value and form.&lt;EM&gt;token&lt;/EM&gt;.&lt;BR /&gt;
&lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/Viz/Dynamicdrilldownindashboardsandforms"&gt;http://docs.splunk.com/Documentation/Splunk/latest/Viz/Dynamicdrilldownindashboardsandforms&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;I NOW have Simple Results Header directly above &amp;lt;module name="HiddenChartFormatter"&amp;gt; that displays result count, nicely formatted time range, and the value of the HOST field on my form.  &lt;/P&gt;

&lt;P&gt;&lt;EM&gt;&amp;lt;module name="SimpleResultsHeader"&amp;gt;&lt;BR /&gt;
  &amp;lt;param name="headerFormat"&amp;gt;$count$ results at $time$ for $form.HOST$&amp;lt;/param&amp;gt;&lt;BR /&gt;
  &amp;lt;param name="entityName"&amp;gt;results&amp;lt;/param&amp;gt;&lt;BR /&gt;
&amp;lt;/module&amp;gt;&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 27 Aug 2013 15:23:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/SimpleResultsHeader-include-intention-field-in-chart-title/m-p/44786#M2197</guid>
      <dc:creator>andrewfl</dc:creator>
      <dc:date>2013-08-27T15:23:29Z</dc:date>
    </item>
  </channel>
</rss>

