IBM Support

Why do LastOccurrence defaults to a 'YYYY' value of 1920

Question & Answer


Question

Since upgrading to LA 1.3.6, the 'OMNIBUs Insight Pack' defaults to a 'YYYY' of 1920 when using 'LastOccurrence' field  searches, like:                                         
                                                                
LastOccurrence:[1920-10-15T14:26:00.000Z TO 1920-10-15T14:27:00.000Z]                                       
                                                                
Instead of: 
                  
LastOccurrence:[2020-10-15T14:26:00.000Z TO 2020-10-15T14:27:00.000Z]

when drilling down from a pie chart
image 6778

Cause

This is due to APAR IJ28885
(defect DT084235)

Answer

As a workaround:
  • change the UNITY_DATE_DISPLAY_FORMAT in the file:
<HOME>/IBM®/LogAnalysis/wlp/usr/servers/Unity/apps/Unity.war/WEB-INF
 
from

UNITY_DATE_DISPLAY_FORMAT= MM/dd/yy HH:mm:ss:SSS Z
 
to
 
UNITY_DATE_DISPLAY_FORMAT= MM/dd/yyyy HH:mm:ss:SSS Z
 
year part is changed from yy to yyyy
  • LA restart is required
<HOME>/IBM/LogAnalysis/utilities/unity.sh -restart

[{"Line of Business":{"code":"LOB45","label":"Automation"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSPFMY","label":"IBM Operations Analytics - Log Analysis"},"ARM Category":[{"code":"a8m50000000CcJtAAK","label":"Log Analysis->Framework->Configurations"}],"ARM Case Number":"TS004348485","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"1.3.6"}]

Historical Number

TS004348485

Document Information

Modified date:
24 October 2020

UID

ibm16352907