<?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: Custom Dashboards - Formatting HTML Text - Static Content - Inline Searching? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Custom-Dashboards-Formatting-HTML-Text-Static-Content-Inline/m-p/19647#M2995</link>
    <description>&lt;P&gt;Thanks Ziegfried, works a treat.&lt;/P&gt;</description>
    <pubDate>Wed, 01 Jun 2011 08:25:59 GMT</pubDate>
    <dc:creator>srw46</dc:creator>
    <dc:date>2011-06-01T08:25:59Z</dc:date>
    <item>
      <title>Custom Dashboards - Formatting HTML Text - Static Content - Inline Searching?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Custom-Dashboards-Formatting-HTML-Text-Static-Content-Inline/m-p/19644#M2992</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;

&lt;P&gt;I'm creating a custom dashboard which consists of several searches on one page.  I want to head each search with a different title explaining to the end user what each search is.  At present I am simply using the StaticContentSample module to print a simple, plain text title.  How can I format the text to make it bold or larger etc?  The plain text is swamped by the detail and isn't very readable.&lt;/P&gt;

&lt;P&gt;Here is what I am currently using:&lt;/P&gt;

&lt;HR /&gt;

&lt;P&gt;&lt;MODULE name="StaticContentSample" layoutpanel="mainSearchControls"&gt;&lt;BR /&gt;
  &lt;OBJECT&gt;&lt;PARAM name="text" /&gt;Title&lt;BR /&gt;
&lt;/OBJECT&gt;&lt;/MODULE&gt;&lt;/P&gt;

&lt;HR /&gt;

&lt;P&gt;I tried simple putting HTML tags within the 'param' but this doesn't seem to work (it simply prints 'None') instead of any text I add.&lt;/P&gt;

&lt;P&gt;Any suggestions?&lt;/P&gt;

&lt;P&gt;As a bonus question, I am currently using the 'SearchBar' module with the 'Default' param to include a search string which is ready to go, the user then hits the submit button to start the job.  Is there anyway I can have this search string automatically start running on page load?  Visibly I mean, so the search string is still there and the job status and event viewer child modules still show as I have configured?  I tried substituting hiddensearch and other modules but I lose my child modules.&lt;/P&gt;

&lt;P&gt;Thanks for any advice.  Let me know if anything isn't clear.&lt;/P&gt;</description>
      <pubDate>Tue, 31 May 2011 10:04:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Custom-Dashboards-Formatting-HTML-Text-Static-Content-Inline/m-p/19644#M2992</guid>
      <dc:creator>srw46</dc:creator>
      <dc:date>2011-05-31T10:04:00Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Dashboards - Formatting HTML Text - Static Content - Inline Searching?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Custom-Dashboards-Formatting-HTML-Text-Static-Content-Inline/m-p/19645#M2993</link>
      <description>&lt;P&gt;Please ignore the second, 'bonus question'.  I've been able to use autoRun="true" to make the search run on load.&lt;/P&gt;</description>
      <pubDate>Tue, 31 May 2011 10:38:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Custom-Dashboards-Formatting-HTML-Text-Static-Content-Inline/m-p/19645#M2993</guid>
      <dc:creator>srw46</dc:creator>
      <dc:date>2011-05-31T10:38:14Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Dashboards - Formatting HTML Text - Static Content - Inline Searching?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Custom-Dashboards-Formatting-HTML-Text-Static-Content-Inline/m-p/19646#M2994</link>
      <description>&lt;P&gt;You have to either escape the HTML content in the param node&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;param name="text"&amp;gt;&amp;amp;lt;b&amp;amp;gt;Title&amp;amp;lt;/b&amp;amp;gt;&amp;lt;/param&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;or put it into a CDATA node:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;param name="text"&amp;gt;&amp;lt;![CDATA[ &amp;lt;b&amp;gt;Title&amp;lt;/b&amp;gt; ]]&amp;gt;&amp;lt;/param&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 31 May 2011 13:48:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Custom-Dashboards-Formatting-HTML-Text-Static-Content-Inline/m-p/19646#M2994</guid>
      <dc:creator>ziegfried</dc:creator>
      <dc:date>2011-05-31T13:48:54Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Dashboards - Formatting HTML Text - Static Content - Inline Searching?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Custom-Dashboards-Formatting-HTML-Text-Static-Content-Inline/m-p/19647#M2995</link>
      <description>&lt;P&gt;Thanks Ziegfried, works a treat.&lt;/P&gt;</description>
      <pubDate>Wed, 01 Jun 2011 08:25:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Custom-Dashboards-Formatting-HTML-Text-Static-Content-Inline/m-p/19647#M2995</guid>
      <dc:creator>srw46</dc:creator>
      <dc:date>2011-06-01T08:25:59Z</dc:date>
    </item>
  </channel>
</rss>

