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!

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...