Dashboards & Visualizations

view strange behavior

DTERM
Contributor

I've got the following code in a view. It works fine with one strange exception. I see the text "Loading..." in the upper right hand side of the view when I include the HTML portion (in bold below). If I remove the HTML, the "Loading..." text disappears. Now the view contents and the HTML work so I don't see what could be "Loading". Any clue as to what is causing this? Thanks.

    <?xml version="1.0"?>

<view template="dashboard.html">

  **<module name="HTML" layoutPanel="viewHeader">
    <param name="html"><![CDATA[
    <h1 align="center">Customer Activity</h1>
    <h2> bla bla</h2>
    <h3> more bla bla</h3>
    <a align="right" href="/en-US/app/MyApp/about_dashboard">Customer Home</a>
    <br>
    odalsfaslj saljdfasjf
    ]]></param>
  </module>**

<label>Customer Activity</label>
  <module name="GenericHeader" layoutPanel="panel_row1_col1">
    <param name="label">Customer Activity (Most ACTIVE)</param>
      <param name="invervalInSeconds">300</param>
      <module name="HiddenSearch" autoRun="True" layoutPanel="panel_row1_col1_grp1">
    <param name="search"> 
              index="MyApp" sourcetype="client" | timechart count by client 
    </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">Volume</param>
          <module name="FlashChart"/>
        </module>
      </module>
  </module>
</view>
Tags (1)
0 Karma
1 Solution

sideview
SplunkTrust
SplunkTrust

The 'Loading' text will get stuck there whenever there is an exception being thrown in the Javascript. In the future you can go to 'Tools > Error Console' in firefox to see the text of the error.

The problem here is simply that you have not included the SideviewUtils module. This is mentioned as a requirement on the homepage of the Sideview Utils documentation. If you use any of the modules from the app, you have to also include the invisible module whose name is "SideviewUtils" somewhere on the page.

Take a closer look at the documentation, both the intro pages in Sideview Utils and dont forget the specific documentation around the HTML module.

View solution in original post

sideview
SplunkTrust
SplunkTrust

The 'Loading' text will get stuck there whenever there is an exception being thrown in the Javascript. In the future you can go to 'Tools > Error Console' in firefox to see the text of the error.

The problem here is simply that you have not included the SideviewUtils module. This is mentioned as a requirement on the homepage of the Sideview Utils documentation. If you use any of the modules from the app, you have to also include the invisible module whose name is "SideviewUtils" somewhere on the page.

Take a closer look at the documentation, both the intro pages in Sideview Utils and dont forget the specific documentation around the HTML module.

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 ...