Quantcast
Channel: Latest Questions on Splunk Answers
Viewing all articles
Browse latest Browse all 13053

HTML sideview module with nested search modules

$
0
0

Now I have about 30 searches with single value results that I would like to include in one sideview HTML panel.

Is there a way to have nested searches and one HTML panel which can pull data from each nested search?

I know I could append one search after the other in one massive search. However this would make the whole thing a little unwieldy.

I would like it if this was possible.

<module name="Search" layoutPanel="panel_row2_col1" autoRun="True">
    <param name="search">index=_internal source=*metrics.log group=per_sourcetype_thruput | head 1000 | stats sum(kb) as kb by series | sort - kb</param>

    <module name="Search" layoutPanel="panel_row2_col1" autoRun="True">
        <param name="search">index=main something="this"</param>

        <module name="HTML">
            <param name="html">
    <h2>Some HTML with results like this $results[0].series$ and the second search results are $otherResults[0].dataValue$</h2>
            </param>
        </module>
    </module>
</module>

as you can see I would like to access the first search with $results[0].series$ and the second one with $otherResults[0].dataValue$ is there are way to override the Search modules variable name the results gets returned as from results to something else?


Viewing all articles
Browse latest Browse all 13053

Trending Articles