Installation

Why are there mis-scaled 'Single Value' content in all dashboards after upgrading to Splunk Ent 8.2.5?

apietersen
Contributor

Hi,

After upgrade to version Splunk Ent  version 8.2.5: All "single values" in all dashboards do not scale anymore relative to the height, showing max fontsize, not honouring the height of the panels. All dashboard suffering with this issue. Checked it on other Splunk instance and have the same issue. Already created a support-request.

Any suggestions in the meantime?

regards AshleyP

Labels (3)

apietersen
Contributor

Hi Burwell,

Thanks for the answer. I think this underline there is aan issue with the new Ent version 8.2.5. Something outside the scope of control of me, I have no knowledge of  Jacascript and did not occurred before. Neither on any other Search Head except the ones I upgraded to v 8.2.5
regards
AP

Tags (1)
0 Karma

gjanders
SplunkTrust
SplunkTrust

I also logged this as a case and confirmed it's a bug, in my case it will be fixed in the next minor/major release and not a maintenance release.

As an alternative for my userbase I'm going to install the number viz addon from SplunkBase, as we won't be upgrading for a while...

0 Karma

apietersen
Contributor

My findings so far: It seems to completely ignoring the  <option name="height">50</option>  option settings (although honouring the scaling of the length of the Value/String)

0 Karma

apietersen
Contributor

No scaling of fontsize on all dashboards:

Splunk-single-value-issue-825-1v2.PNG

0 Karma

apietersen
Contributor

Update:

As posted here earlier: I created a ticket because directly after the upgrade to v8.2.5 (last sunday 6 feb) because all scaling on all our dashboards with single value panels were failing.  Yesterday Wednesday 9-feb, I was asked to provide diag file which I have send. Today Thursday 10-feb, no further status info recieved yet and  still suffering from crippled dashboards.

AP

0 Karma

ITWhisperer
SplunkTrust
SplunkTrust

Can you share your dashboard simpleXML source? Or at least with respect to the singles and any CSS embedded or otherwise?

0 Karma

apietersen
Contributor

Hi ITWhisperer,

Thanks for your response, 

That is my question too, hereby some code + screenshot

simplexml source example of dashboard with only single-values: (i upload screenhsot how it looks on one of our test instances)

<dashboard>
<label>Single_Value_issue</label>
<row>
<panel>
<title>MvHrs PA1</title>
<single>
<search>
<query>index=bostb AND MachineID=BB_PA1 Tag="*AxisX.r64_position" AND Tag="*top_*"
| eval move=round(Value,0)
| timechart span=6m dc(move) as dcmv
| eval dcmv=if(dcmv&gt;=3, 0.1, 0)
| stats sum(dcmv) as mvhrs
| table mvhrs</query>
<earliest>-7d@h</earliest>
<latest>now</latest>
<refresh>5m</refresh>
<refreshType>delay</refreshType>
</search>
<option name="colorMode">block</option>
<option name="drilldown">none</option>
<option name="height">50</option>
<option name="numberPrecision">0.0</option>
<option name="rangeColors">["0xdc4e41","0x0877a6","0x20BF1D"]</option>
<option name="rangeValues">[0,1]</option>
<option name="refresh.display">progressbar</option>
<option name="underLabel">moving_hrs</option>
<option name="useColors">1</option>
<option name="link.exportResults.visible">false</option>
<option name="link.inspectSearch.visible">false</option>
<option name="link.openPivot.visible">false</option>
<option name="link.openSearch.search">false</option>
<option name="link.visible">false</option>
<option name="refresh.link.visible">true</option>
</single>
</panel>
<panel>
<title>Tray_IN1</title>
<single>
<search>
<query>index=bostb AND MachineID=BB_PA1 AND Tag="*Application.GVL_Hmi.Equipment.Sts.CurrState.Inbound[x].Inbound[1].ArrivedID[x].ArrivedID[1]"
| stats dc(Value) as TrayIn1 by Tag
| fillnull TrayIn1
| eval TrayIn1=if(TrayIn1=1,0,TrayIn1-1)
| table TrayIn1</query>
<earliest>-7d@h</earliest>
<latest>now</latest>
<refresh>5m</refresh>
<refreshType>delay</refreshType>
</search>
<option name="colorMode">block</option>
<option name="drilldown">none</option>
<option name="height">50</option>
<option name="rangeColors">["0xdc4e41","0x006d9c","0x20BF1D"]</option>
<option name="rangeValues">[0,10]</option>
<option name="refresh.display">progressbar</option>
<option name="useColors">1</option>
<option name="link.exportResults.visible">false</option>
<option name="link.inspectSearch.visible">false</option>
<option name="link.openPivot.visible">false</option>
<option name="link.openSearch.search">false</option>
<option name="link.visible">false</option>
<option name="refresh.link.visible">true</option>
</single>
</panel>
<panel>
<title>avg wait_in (F1)</title>
<single>
<search>
<query>index=bostb
AND MachineID=BB_PA1
AND Tag="*.Equipment.Sts.CurrState.Inbound[x].Inbound[1].ArrivedID[x].ArrivedID[1]"
AND Value&gt;0
| delta _time p=1 as next_tray
| eval wait_sec=ABS(next_tray)
| where wait_sec&lt;100
| stats avg(wait_sec) as avgwait
| eval avgwait=round(avgwait,1)
| table avgwait</query>
<earliest>-7d@h</earliest>
<latest>now</latest>
</search>
<option name="drilldown">none</option>
<option name="height">50</option>
<option name="numberPrecision">0.0</option>
<option name="rangeColors">["0x53a051","0x0877a6","0xf8be34","0xf1813f","0xdc4e41"]</option>
<option name="refresh.display">progressbar</option>
<option name="link.exportResults.visible">false</option>
<option name="link.inspectSearch.visible">false</option>
<option name="link.openPivot.visible">false</option>
<option name="link.openSearch.search">false</option>
<option name="link.visible">false</option>
<option name="refresh.link.visible">true</option>
</single>
</panel>
<panel>
<title>avg per min (F1)</title>
<single>
<search>
<query>index=bostb
AND MachineID=BB_PA1
AND Tag="*.Equipment.Sts.CurrState.Inbound[x].Inbound[1].ArrivedID[x].ArrivedID[1]"
AND Value&gt;0
| delta _time p=1 as next_tray
| eval wait_sec=ABS(next_tray)
| where wait_sec&lt;100
| stats avg(wait_sec) as avgwait
| eval avgwait=round(avgwait,1)
| table avgwait</query>
<earliest>-7d@h</earliest>
<latest>now</latest>
</search>
<option name="drilldown">none</option>
<option name="height">50</option>
<option name="numberPrecision">0.0</option>
<option name="rangeColors">["0x53a051","0x0877a6","0xf8be34","0xf1813f","0xdc4e41"]</option>
<option name="refresh.display">progressbar</option>
<option name="link.exportResults.visible">false</option>
<option name="link.inspectSearch.visible">false</option>
<option name="link.openPivot.visible">false</option>
<option name="link.openSearch.search">false</option>
<option name="link.visible">false</option>
<option name="refresh.link.visible">true</option>
</single>
</panel>
<panel>
<title>MvHrs PA2</title>
<single>
<search>
<query>index=bostb AND MachineID=BB_PA2 Tag="*AxisX.r64_position" AND Tag="*top_*"
| eval move=round(Value,0)
| timechart span=6m dc(move) as dcmv
| eval dcmv=if(dcmv&gt;=3, 0.1, 0)
| stats sum(dcmv) as mvhrs
| table mvhrs</query>
<earliest>-7d@h</earliest>
<latest>now</latest>
<refresh>5m</refresh>
<refreshType>delay</refreshType>
</search>
<option name="colorMode">block</option>
<option name="drilldown">none</option>
<option name="height">50</option>
<option name="numberPrecision">0.0</option>
<option name="rangeColors">["0xdc4e41","0x0877a6","0x20BF1D"]</option>
<option name="rangeValues">[0,1]</option>
<option name="refresh.display">progressbar</option>
<option name="underLabel">moving_hrs</option>
<option name="useColors">1</option>
<option name="link.exportResults.visible">false</option>
<option name="link.inspectSearch.visible">false</option>
<option name="link.openPivot.visible">false</option>
<option name="link.openSearch.search">false</option>
<option name="link.visible">false</option>
<option name="refresh.link.visible">true</option>
</single>
</panel>
<panel>
<title>Tray_IN2</title>
<single>
<search>
<query>index=bostb AND MachineID=BB_PA2 AND Tag="*Application.GVL_Hmi.Equipment.Sts.CurrState.Inbound[x].Inbound[1].ArrivedID[x].ArrivedID[1]"
| stats dc(Value) as TrayIn1 by Tag
| fillnull TrayIn1
| eval TrayIn1=if(TrayIn1=1,0,TrayIn1-1)
| table TrayIn1</query>
<earliest>-7d@h</earliest>
<latest>now</latest>
<refresh>5m</refresh>
<refreshType>delay</refreshType>
</search>
<option name="colorMode">block</option>
<option name="drilldown">none</option>
<option name="height">50</option>
<option name="rangeColors">["0xdc4e41","0x006d9c","0x20BF1D"]</option>
<option name="rangeValues">[0,10]</option>
<option name="refresh.display">progressbar</option>
<option name="useColors">1</option>
<option name="link.exportResults.visible">false</option>
<option name="link.inspectSearch.visible">false</option>
<option name="link.openPivot.visible">false</option>
<option name="link.openSearch.search">false</option>
<option name="link.visible">false</option>
<option name="refresh.link.visible">true</option>
</single>
</panel>
<panel>
<title>avg wait_in (F1)</title>
<single>
<search>
<query>index=bostb
AND MachineID=BB_PA2
AND Tag="*.Equipment.Sts.CurrState.Inbound[x].Inbound[1].ArrivedID[x].ArrivedID[1]"
AND Value&gt;0
| delta _time p=1 as next_tray
| eval wait_sec=ABS(next_tray)
| where wait_sec&lt;100
| stats avg(wait_sec) as avgwait
| eval avgwait=round(avgwait,1)
| table avgwait</query>
<earliest>-7d@h</earliest>
<latest>now</latest>
</search>
<option name="drilldown">none</option>
<option name="height">50</option>
<option name="numberPrecision">0.0</option>
<option name="rangeColors">["0x53a051","0x0877a6","0xf8be34","0xf1813f","0xdc4e41"]</option>
<option name="refresh.display">progressbar</option>
<option name="link.exportResults.visible">false</option>
<option name="link.inspectSearch.visible">false</option>
<option name="link.openPivot.visible">false</option>
<option name="link.openSearch.search">false</option>
<option name="link.visible">false</option>
<option name="refresh.link.visible">true</option>
</single>
</panel>
<panel>
<title>avg per min (F1)</title>
<single>
<search>
<query>index=bostb
AND MachineID=BB_PA2
AND Tag="*.Equipment.Sts.CurrState.Inbound[x].Inbound[1].ArrivedID[x].ArrivedID[1]"
AND Value&gt;0
| delta _time p=1 as next_tray
| eval wait_sec=ABS(next_tray)
| where wait_sec&lt;100
| stats avg(wait_sec) as avgwait
| eval avgwait=round(avgwait,1)
| table avgwait</query>
<earliest>-7d@h</earliest>
<latest>now</latest>
</search>
<option name="drilldown">none</option>
<option name="height">50</option>
<option name="numberPrecision">0.0</option>
<option name="rangeColors">["0x53a051","0x0877a6","0xf8be34","0xf1813f","0xdc4e41"]</option>
<option name="refresh.display">progressbar</option>
<option name="link.exportResults.visible">false</option>
<option name="link.inspectSearch.visible">false</option>
<option name="link.openPivot.visible">false</option>
<option name="link.openSearch.search">false</option>
<option name="link.visible">false</option>
<option name="refresh.link.visible">true</option>
</single>
</panel>
</row>
</dashboard>

0 Karma

apietersen
Contributor

update (confirmed as bug):

-=-=-=-=-=-=-=-
The previous questions were done in order to berify if this issue matches with a known bug that has been found related to this particular problems with dashboards.

In this case there is a bug internal ticket already reported about this issue, for your reference the ticket number is # SPL-219946.

It looks like custom dashboards are impacted when migrating or upgrading them to the newer version of Splunk.

In this case as per Senior Engineers and also the current work around would be to rebuilt the Custom dashboards into the new Splunk version.

In case it could be helpful, you could also consider the options below: 

Note: the functionality of the utilization of the app's Javascript was tested to work on the following versions:

* Splunk 8.2.3 and Dashboard App 8.0.0

* Splunk 7.3.0 and Dashboard App 7.3.0 

-=-==-=-=-=-=--

0 Karma
Get Updates on the Splunk Community!

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...

What's new in Splunk Cloud Platform 9.1.2312?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.1.2312! Analysts can ...

What’s New in Splunk Security Essentials 3.8.0?

Splunk Security Essentials (SSE) is an app that can amplify the power of your existing Splunk Cloud Platform, ...