Dashboards & Visualizations

Four single values in the same panel -- Is it possible to fix alignment?

gcusello
SplunkTrust
SplunkTrust

Hi at all:
I have a dashboard divided into three columns.
In one of this columns I have a panel with four Single Values, two for each row.
I'd like to maintain this alignment also with different monitor or Windows dimensions, in other words I'd like to have a risize of Single Values dimensions but maintaining their positions, Is this possible without using iframes? how?
I'm using Splunk 6.5.2.
Thank you in advance.
bye.
Giuseppe

0 Karma
1 Solution

rjthibod
Champion

Try this.

First, give the panel an HTML ID, the panel with the single value elements.

Then, you will need to add something like the following CSS settings, where you substitute the panel ID you just added.

#<PANEL_ID> .single {
  width: 50% !important;
}

View solution in original post

rjthibod
Champion

Try this.

First, give the panel an HTML ID, the panel with the single value elements.

Then, you will need to add something like the following CSS settings, where you substitute the panel ID you just added.

#<PANEL_ID> .single {
  width: 50% !important;
}

prettysunshinez
Explorer

@rjthibod I have a similar requirement where I will have to fix the alignment of a panel and an Html button under it..Likewise to many panels and html buttons in the dashboard.

How can I achieve it..

Thanks in advance

0 Karma

rjthibod
Champion

@cusello, did you try my recommendation?

0 Karma

gcusello
SplunkTrust
SplunkTrust

Thank you, it's OK.
Bye.
Giuseppe

0 Karma

niketn
Legend

@cusello, can you add a screenshot of what you have? If possible also a mock of what you need.

____________________________________________
| makeresults | eval message= "Happy Splunking!!!"

gcusello
SplunkTrust
SplunkTrust

How can I add an image?
Bye.
Giuseppe

0 Karma

niketn
Legend

Upload to image sharing site and provide the URL through Image <img> button here on Answers.

____________________________________________
| makeresults | eval message= "Happy Splunking!!!"
0 Karma

gcusello
SplunkTrust
SplunkTrust

I haven't a an image sharing site, so I try to describe using Code sample:

   SV1 SV2 |             Map         | SV3  SV4
   SV5 SV6 |                              | 

But the problem is that rearranging windows (e.g. enlarging) I have

   SV1 SV2 SV3 |               Map           | SV3  SV4
   SV6         |                             | 

Bye.
Giuseppe

0 Karma
Get Updates on the Splunk Community!

Splunk Observability as Code: From Zero to Dashboard

For the details on what Self-Service Observability and Observability as Code is, we have some awesome content ...

[Puzzles] Solve, Learn, Repeat: Character substitutions with Regular Expressions

This challenge was first posted on Slack #puzzles channelFor BORE at .conf23, we had a puzzle question which ...

Shape the Future of Splunk: Join the Product Research Lab!

Join the Splunk Product Research Lab and connect with us in the Slack channel #product-research-lab to get ...