Dashboards & Visualizations

View dont show the Plot

KarunK
Contributor

Hi,

I have created a view for an app, to plot a graph. But i am not getting any plot at all. I can see the time range picker, job progresses indicator bar, serach result( ## matching events) etc. But not the actual plot. Can i get some help with this ?

Following is my view config file.


<view autoCancelInterval="90" onunloadCancelJobs="true" template="dashboard.html" isSticky="False" stylesheet="custom.css">

    <label>Requests</label>

    <module name="SideviewUtils" layoutPanel="messaging" />

    <module name="AccountBar" layoutPanel="messaging" />

    <module name="Message" layoutPanel="viewHeader">
        <param name="filter">*</param>
        <param name="maxSize">2</param>
        <param name="clearOnJobDispatch">False</param>
    </module>

    <module name="Message" layoutPanel="viewHeader">
        <param name="filter">splunk.search.*</param>
        <param name="maxSize">1</param>
        <param name="clearOnJobDispatch">True</param>
    </module>

    <module name="LeftNavAppBar" layoutPanel="navigationHeader" />

  <module name="Search" layoutPanel="panel_row1_col1" autoRun="True"> <param name="search">sourcetype="mms_export_e_wms_90" | chart count by host</param>   
    <module name="TimeRangePicker"> <param name="searchWhenChanged">True</param> <param name="selected">Last 4 hours</param>    
<module name="JobStatus">
<module name="ViewstateAdapter">
<module name="HiddenFieldPicker"> <param name="strictMode">True</param>
<module name="JobProgressIndicator">
<module name="EnablePreview"> <param name="enable">True</param> <param name="display">False</param>
<module name="HiddenChartFormatter"> <param name="charting.chart">Column</param> <param name="chart.nullValueMode">connect</param> <param name="chartTitle">Count(%)</param>
<module name="FlashChart"> <param name="width">100%</param> 
<module name="ConvertToDrilldownSearch"> 



<!--<module name="ViewRedirector"> <param name="viewTarget">flashtimeline</param> -->

    <module name="HTML">
      <param name="html">&lt;p&gt;Here we use an Events module to display the $results.count$ events found $search.timeRange.label$ for the following search:&lt;br&gt;
        &lt;b&gt;$search$&lt;/b&gt; &lt;/p&gt;</param>
    </module>
    <module name="SoftWrap">
      <module name="RowNumbers">
        <module name="MaxLines">
          <param name="options">
            <list>
              <param name="text">5</param>
              <param name="selected">True</param>
              <param name="value">5</param>
            </list>
            <list>
              <param name="text">10</param>
              <param name="value">10</param>
            </list>
            <list>
              <param name="text">20</param>
              <param name="value">20</param>
            </list>
            <list>
              <param name="text">50</param>
              <param name="value">50</param>
            </list>
            <list>
              <param name="text">100</param>
              <param name="value">100</param>
            </list>
            <list>
              <param name="text">200</param>
              <param name="value">200</param>
            </list>
            <list>
              <param name="text">All</param>
              <param name="value">0</param>
            </list>
          </param>
          <module name="Segmentation">
            <param name="options">
              <list>
                <param name="text">inner</param>
                <param name="selected">True</param>
                <param name="value">inner</param>
              </list>
              <list>
                <param name="text">outer</param>
                <param name="value">outer</param>
              </list>
              <list>
                <param name="text">full</param>
                <param name="value">full</param>
              </list>
              <list>
                <param name="text">raw</param>
                <param name="value">raw</param>
              </list>
            </param>
            <module name="Events">
              <param name="height">300px</param>
              <param name="allowTermClicks">False</param>
              <param name="resizeMode">fixed</param>
              <param name="fields">series source kb eps</param>
            </module>
          </module>
        </module>
      </module>
    </module>
  </module>

 <!--</module> -->

</module> </module> </module> </module> </module> </module> </module> </module>  </module> 

</view>
Tags (1)
0 Karma

KarunK
Contributor

Figured it out. When i changed the Module - Search to HiddenSearch it worked. I was using HiddenSearchFormatter for the plot settings. I thing both of them should match.

<module name="HiddenSearch" layoutPanel="panel_row1_col1" autoRun="True"> <param name="search">sourcetype="mms_export_e_wms_90" | chart count by host</param>   
    <module name="TimeRangePicker"> <param name="searchWhenChanged">True</param> <param name="selected">Last 4 hours</param>    
<module name="JobStatus">
<module name="ViewstateAdapter">
<module name="HiddenFieldPicker"> <param name="strictMode">True</param>
<module name="JobProgressIndicator">
<module name="EnablePreview"> <param name="enable">True</param> <param name="display">False</param>
<module name="HiddenChartFormatter"> <param name="charting.chart">Column</param> <param name="chart.nullValueMode">connect</param> <param name="chartTitle">Count(%)</param>
<module name="FlashChart"> <param name="width">100%</param> 
<module name="ConvertToDrilldownSearch">
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!

A Four-Part Event Series: Full Stack Observability For the AI Era

As AI reshapes applications, infrastructure, and the way teams operate, the traditional boundaries of ...

SOC4Kafka - New Kafka Connector Powered by OpenTelemetry

The new SOC4Kafka connector, built on OpenTelemetry, enables the collection of Kafka messages and forwards ...

Event Series: Level up your SOC: Advancing with Splunk Enterprise Security

AI has fundamentally raised the stakes for security operations, and this three-part series is your guide to ...