sghaskell / maps-plus

Maps+ for Splunk
Other
18 stars 3 forks source link

Dynamic tooltip and panel refresh #10

Open lazyfai opened 5 years ago

lazyfai commented 5 years ago

I am running a panel with Maps+ in Splunk 7.3.0, the panel itself has a refresh interval of 1 minute, and my tooltip content is related to the time (which use "now" as the content), but the tooltip never update and only show the initial time. (The search itself running seperately showing the correct tooltip value in the result table) The problem will not happen when converting the dashboard from XML to HTML. Any hint?

sghaskell commented 5 years ago

Hi @lazyfai . I don't believe that panel refresh works properly within the Custom Visualization API that underpins the visualization. To the best of my knowledge, the only way to get a search to update is by refreshing the entire page which is often not desired. You can do this in the format menu under the Map (Continued) tab by setting Dashboard refresh interval to a non-zero value.

https://github.com/sghaskell/maps-plus#dashboard-refresh-interval

Again, this will refresh the entire page, not the panel.

pgthompson commented 3 years ago

Hey buddy, is there any possibility of a fix for this one? A page refresh isn't always that desirable :-) Thanks Paul

trashman14107 commented 2 years ago

Hello. I'm having the same issue with SC 9. The tooltip is set to display the "last time at this location", but all GPS points show the same time. I removed the dashboard refresh, and added the a non zero value to the Maps (continued)>Dashboard Refresh interval to 30.