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!

Blueprints for High-Maturity Operations: Splunk Lantern Articles on SOAR, ES 8.4, ...

Splunk Lantern is Splunk’s customer success center that provides practical guidance from Splunk experts on key ...

Simplifying the Analyst Experience with Finding-based Detections

    Splunk invites you to an engaging Tech Talk focused on streamlining security operations with ...

[Puzzles] Solve, Learn, Repeat: Word Search

This challenge was first posted on Slack #puzzles channelThis puzzle is based on a letter grid containing ...