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
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Can’t Make It to Boston? Stream .conf25 and Learn with Haya Husain

Boston may be buzzing this September with Splunk University and .conf25, but you don’t have to pack a bag to ...

Splunk Lantern’s Guide to The Most Popular .conf25 Sessions

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Unlock What’s Next: The Splunk Cloud Platform at .conf25

In just a few days, Boston will be buzzing as the Splunk team and thousands of community members come together ...