Dashboards & Visualizations

layoutPanel - how to specify rows and columns

p_basanth
New Member

The below snippet extracted from the lister module intro example.

No results are displayed while using the below layoutPanel. Do we have to use any additional parameters?

module name="HiddenSearch" layoutPanel="panel_row2_col1"
group="Drilldowns - 1" autoRun="True"

results are displayed while using layoutPanel="mainSearchControls"

0 Karma
1 Solution

wpreston
Motivator

Your specification of the layoutPanel appears to be correct. Can you post some more of your xml? At the risk of telling you something you may already know/have in place, you need a results module of some kind downstream from the HiddenSearch to display your results, like so:

...My View XML...
<module name="HiddenSearch" layoutPanel="panel_row1_col1" group="Drilldowns - 1" autoRun="True">
    <param name="search">mySearchParams</param>
    <module name="Paginator">
        <param name="entityName">events</param>
        <module name="SimpleResultsTable">
            <param name="drilldown>all</param>
        </module>
    </module>       
</module>
...The rest of My View XML...

Like I said, you may already know this or have it in your view, but I thought I'd offer it up anyway.

View solution in original post

0 Karma

araitz
Splunk Employee
Splunk Employee

Do you have anything using panel_row1_col1? The row/panel magic in dashboard.html requires that if you use row2, you must have already used row1.

0 Karma

wpreston
Motivator

Your specification of the layoutPanel appears to be correct. Can you post some more of your xml? At the risk of telling you something you may already know/have in place, you need a results module of some kind downstream from the HiddenSearch to display your results, like so:

...My View XML...
<module name="HiddenSearch" layoutPanel="panel_row1_col1" group="Drilldowns - 1" autoRun="True">
    <param name="search">mySearchParams</param>
    <module name="Paginator">
        <param name="entityName">events</param>
        <module name="SimpleResultsTable">
            <param name="drilldown>all</param>
        </module>
    </module>       
</module>
...The rest of My View XML...

Like I said, you may already know this or have it in your view, but I thought I'd offer it up anyway.

0 Karma

p_basanth
New Member

Hi Ayn,


I tried with view template="dashboard.html" as well as blank view. Failure in both cases.

0 Karma

Ayn
Legend

What view template are you using?

0 Karma
Get Updates on the Splunk Community!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

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