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 for AI

Don’t miss out on an exciting Tech Talk on Splunk Observability for AI!Discover how Splunk’s agentic AI ...

Splunk Enterprise Security 8.x: The Essential Upgrade for Threat Detection, ...

Watch On Demand the Tech Talk on November 6 at 11AM PT, and empower your SOC to reach new heights! Duration: ...

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