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

ATTENTION: We’re Moving! (AGAIN!)

The Splunk Community Slack is undergoing a system migration to keep our workspace secure and ...

Deep Dive: Optimizing Telemetry Pipelines in Splunk Observability Cloud

In this session, we will peel back the layers of Splunk Observability Cloud’s cost-optimization features. ...

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