Quantcast
Channel: Questions in topic: "splunk-enterprise"
Viewing all articles
Browse latest Browse all 47296

Was showing time of last update of dashboard in 6.4 using javascript. Stopped working in 6.5. Need suggestion on how to get working in 6.5.

$
0
0
The following XML/Javascript was working in 6.4 to update the lastupdatedtime id. In 6.5 the javascript is now only being called on initial page load. Anyway to get the javascript code called on every refresh like it was in 6.5? Thanks. Simple XML:
Last updated: Javascript: require([ "splunkjs/mvc", "splunkjs/mvc/simplexml/ready!" ], function(mvc) { var d = new Date(); var n = d.toLocaleString(); document.getElementById("lastupdatetime").innerHTML = n; });

Viewing all articles
Browse latest Browse all 47296

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>