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

Switcher ignoring labels - how can I present this correctly?

$
0
0

Hi everyone. I have an advanced XML dashboard using a pulldown switcher. The dash shows license burndowns for the majority of the modules, except for one which is supposed to show platform growth as a whole and some basic metrics. A lot of the panels in the dashboard need different labels when they're under this particular dropdown option. The others I was able to apply generic labels that mostly fit. Now I just have to get this part resolved.

I am using a layout similar to this: http://splunk-base.splunk.com/answers/58835/tabs-in-tabswitcher-show-modules-from-other-tabs

The major difference is I had been using a "group="my group name"' option in the hiddenPostProcess module, and then a <grouplabel> parameter under each module. However I quickly discovered that splunk seems to only listen to the first label given to a particular panel. Here is an example:

<module name="NullModule" group="Customer Growth">
    <module name="HiddenPostProcess" layoutPanel="panel_row1_col1" group="Customer Growth" autoRun="False">
        <param name="search">my search</param>
        <param name="groupLabel>Customer Growth </param>
...
</module>

<module name="NullModule" group="License Burndown">
    <module name="HiddenPostProcess" layoutPanel="panel_row1_col1" group="License Burndown" autoRun="False">
        <param name="search">my search</param>
        <param name="groupLabel">License Burndown</param>
...
</module>

In that example, the label that would show up on a dashboard would be "Customer Growth," and it shows up no matter which dropdown option I'm on. If I modify the first panel to have it's group be named "License Burndown," every single dropdown option's first panel shows up with the label "License Burndown," whether I modify the groupLabel param or not.

How can I get different labels to show up? It seems like no matter what I do, the change to the first option's label is global for every option on the pulldown. It feels like a bug, since according to the module reference, the changes for each module are entirely independent.

I've tried setting it so the first option has rows 1, 2 and 3, and all other options have 4, 5, and 6, but then I run into the issue described in that earlier link where I have tons of empty cells showing up, but the labels actually look correct.

Any advice would be very much appreciated.

Example of what I am talking about (ignore that the numbers/graph are the same, that's actually supposed to be that way as I haven't put in the new searches for this particular option): alt text This is the first option, and it shows the correct labels.

alt text This is the second option - as you can see, despite having different labels defined, it is showing the labels from the first option.


Viewing all articles
Browse latest Browse all 13053

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>