Dashboards & Visualizations

HTML not showing up

DTERM
Contributor

At the top of this view, there is an HTML paragraph that just displays a link to the application home and splunk home. The HTML does not show up in the view. I get no errors, nor do I get the HTML. Any idea why it does not show up? Thanks in advance

<?xml version="1.0"?>

<view autoCancelInterval="90" isVisible="true" onunloadCancelJobs="true" template="dashboard.html" isSticky="False">
  <label>App Errors</label>
  <module name="AccountBar" layoutPanel="appHeader" />
  <module name="AppBar" layoutPanel="appHeader" />

  <module name="" layoutPanel="viewHeader">
    <param name="html"><![CDATA[
    <h1 align="center">App errors</h1>
    <table width="100%"><tr><td>
    <h2><a href="/en-US/app/MyApp/about_dashboard">Application Home</a></h2>
    </td><td>
    <h2 align="right"><a href="/en-US/app/launcher/home">Splunk Home</a></h2>
    </td></tr></table>
    ]]></param>
  </module>


  <label>App errors</label>
  <module name="GenericHeader" layoutPanel="panel_row1_col1">
    <param name="label">Activity with App errors - Realtime</param>
    <module name="HiddenSearch" autoRun="True" layoutPanel="panel_row1_col1">
      <param name="search"> 
                                index=MyApp somesearch….
      </param>
      <param name="earliest">rt-5m</param>
      <param name="latest">rt</param>
      <module name="HiddenChartFormatter">
        <param name="chart">line</param>
        <param name="chart.nullValueMode">connect</param>
        <param name="secondaryAxis.scale">log</param>
        <param name="primaryAxisTitle.text">Time</param>
        <param name="secondaryAxisTitle.text">App errors</param>
        <module name="FlashChart"/>
      </module>
    </module>
  </module>
<module name="GenericHeader" layoutPanel="panel_row1_col2">
    <param name="label">customer Activity with App errors - 1Hr (5min refresh)</param>
      <module name="HiddenSearch" autoRun="True" layoutPanel="panel_row1_col2">
                <param name="search"> 
                                index=MyApp somesearch….
                </param>
        <param name="earliest">-1h</param>
        <module name="HiddenChartFormatter">
          <param name="chart">line</param>
          <param name="chart.nullValueMode">connect</param>
          <param name="secondaryAxis.scale">log</param>
          <param name="primaryAxisTitle.text">Time</param>
          <param name="secondaryAxisTitle.text">App errors</param>
          <module name="FlashChart"/>
        </module>
      </module>
  </module>
  <module name="GenericHeader" layoutPanel="panel_row2_col1">
    <param name="label">customer Activity with App errors - Realtime</param>
     <module name="HiddenSearch" layoutPanel="panel_row2_col1" autoRun="True">
      <param name="search"> 
                                index=MyApp somesearch….
      </param>
      <param name="earliest">rt-5m</param>
      <param name="latest">rt</param>
        <module name="SimpleResultsTable">
          <param name="fields">customer,count</param>
          <param name="count">20</param>
        </module>
    </module>
  </module>

    <module name="GenericHeader" layoutPanel="panel_row2_col2">
    <param name="label">customer Activity with App errors - 1Hr</param>
     <module name="HiddenSearch" layoutPanel="panel_row2_col2" autoRun="True">
      <param name="search"> 
                                index=MyApp somesearch….
      </param>
      <param name="earliest">-1h</param>
        <module name="SimpleResultsTable">
          <param name="fields">customer,count</param>
                  <param name="count">20</param>
        </module>
    </module>
    </module>
</view>
Tags (1)
0 Karma
1 Solution

sideview
SplunkTrust
SplunkTrust

I think the problem is just that the moduleName is emptystring?

<module name="">

Maybe you've found a case where it doesn't give you the normal big error saying "module foo is not defined".

View solution in original post

0 Karma

sideview
SplunkTrust
SplunkTrust

I think the problem is just that the moduleName is emptystring?

<module name="">

Maybe you've found a case where it doesn't give you the normal big error saying "module foo is not defined".

0 Karma
Get Updates on the Splunk Community!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...