Splunk Dev

SimpleXML: text size of single value element ignores height with version="1.1"

helge
Builder

In a single value element, the text size always adjusted dynamically to the element's height. E.g., if you use the mouse to increase the single element's height, the text becomes larger.

However, once you add the tag version="1.1" to the topmost dashboard or form element, the text size is fixed and does not adjust to changing heights any more.

Reproduction

  1. In Splunk's web UI, create a new "classic" dashboard
  2. Add a single value visualization with the following search: index=_internal | timechart count
  3. Use the mouse to make the panel higher
  4. Notice how the single element's font size adjusted to the higher panel (it increased dynamically)
  5. Save the dashboard
  6. Edit the dashboard's source: change <dashboard> to <dashboard version="1.1">
  7. Save the dashboard
  8. Refresh the page (press F5)
  9. The single element's font size is now smaller and it does not adjust to changed heights
  10. Revert the changes in the source, save the dashboard, and refresh the page
  11. The font size is adjusted correctly again

A screen recording is available here: https://www.youtube.com/watch?v=M_btqoyDg2I

My test environment:

  • Splunk Enterprise 8.2.1
  • Chrome 92

Update 2021-09-23

  • Still unfixed in Splunk Enterprise 8.2.2.1
Labels (1)
0 Karma

thellmann
Splunk Employee
Splunk Employee

Hey @helge - I spoke to the development team and a fix for this has already been merged and should be released with the next Splunk Enterprise and Splunk Cloud releases. 

helge
Builder

Hey @thellmann, which version of Splunk Enterprise will the fix be included in? I tested again with the current version 8.2.2.1: it's not fixed there.

0 Karma

vagrawal
Splunk Employee
Splunk Employee

Hi @helge , the fix is currently planned for Splunk Enterprise v8.3.0, which is tracking release around .conf time. 

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!

Leveraging Automated Threat Analysis Across the Splunk Ecosystem

Are you leveraging automation to its fullest potential in your threat detection strategy?Our upcoming Security ...

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