Ticket #1158 :: Remove or edit auto-refresh time-interval and time-interval in quick ranges

Ticket #1158 :: Remove or edit auto-refresh time-interval and time-interval in quick ranges






Solution Document


Remove or edit auto-refresh time-interval and time-interval in quick ranges 

Overview

General/Customer specific

General

Author

SHIVANUR VIMARSHA VINOD

Reviewer

-

Approver

-

Release date

28/02/2024

Product Version

8.5r11


Audience: CSG/TechWarriors/PAC/Platform/Product teams


What’s the Issue? 

Remove 5 sec and 10 sec auto-refresh time-interval. Update the “last 7 days” time frame from quick ranges to “last 3 days”.

Describe the Issue in Detail

        Keeping any dashboard in 5 or 10 sec auto-refresh is giving timeout error, which is affecting monitoring. As we retain T+2 days data i.e. Last 3 days,  need change the “last 7 days” to “last 3 days”. 




Solution Summary


Solution Steps in Detail

Note - Take a backup of the files before changing anything..

1. Go to the shipper server.

2. cd opt/kibana/optimize/bundles

3. vi vienna_bundles.py

4. Search for the particular line of code as shown in the image.

WhatsApp Image 2024-02-28 at 12.14.19_cab8f2895. Delete the code of lines for a particular time interval. Suppose we need to remove 45 seconds auto-refresh time interval. Then the lines {value: 45000, display: "45 seconds", section:1 } should be deleted.

6. Search for the particular line of code as shown in the image.

WhatsApp Image 2024-02-28 at 12.24.32_f7dc73a0

  1. Edit the code lines accordingly. As we need to update last 7 day to last 3 days, change the code from “{ from: ‘now-7d’, to: ‘now’, display: ‘Last 7 days’, section: 2}” to “{ from: ‘now-3d’, to: ‘now’, display: ‘Last 3 days’}

8. Save and exit the file.

9. Take Apache restart and confirm from UI.


Corrective actions if any to avoid in future

  1.  


More Help



References



    • Related Articles

    • How to increase the idle logout time

      Question: How to increase the idle logout time for a particular user in vuSmartMaps? Requirement: For projecting vuSmartMaps storyboards on large screens in customer’s command center. Ans: They should enable auto-refresh when they put up our ...
    • Hitachi Needs Auto Scroll Feature On The Dashboard

      Hitachi has requested for an auto-scroll on the dashboard every 5-10 seconds. Please let me know if this is possible. ANS - 1) You can use browser extensions to do this. This would make things easier instead of adding a product feature. Check below ...
    • Issue With Time Zone In Event Console

      The time in the index and everywhere in the product is at a different timezone, but we still see the data in IST in the event console. How can this be modified? Shipper time zone is also at EEST. Except at the event console everywhere, it is showing ...
    • ICICI || Observing multiple TIME_WAIT’s at target servers-573

       Solution Document ICICI || Observing multiple TIME_WAIT’s at target servers  Overview General/Customer specific General Author Ashna Rajput Reviewer NA Approver  NA  Release date 12/09/2022 Product Version 8.5r5 Audience: ...
    • Enable mod_deflate on CentOS Apache (slow page load time)

      In our deployment whether mod_deflate is enabled or not , to check this follow below steps. Chrome/firefox --> Right Click --> Inspect --> Network.  Reload the home page after login and check the urls coming in Network tab and check the Response ...