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
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Think Like an Architect: Introducing the Splunk Certified Cybersecurity Defense ...

In cybersecurity, defenders respond to threats. Architects design the systems that stop them.    As ...

Best Practices: Splunk auto adjust pipeline queue

When you enable autoAdjustQueue in Splunk, maxSize should be understood as the queue size Splunk starts with ...

Announcing Modern Navigation: A New Era of Splunk User Experience

We are excited to introduce the Modern Navigation feature in the Splunk Platform, available to both cloud and ...