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

Is it possible to derive the server's time using SplunkJS or by other means using JavaScript?

$
0
0
Using `Math.floor(new Date()/1000);` results in the browser's epoch time. Is it possible using the JS libraries provided by Splunk to return the current server-side time? For example I can use `Splunk.util.getConfigValue("USERNAME")` to get the username of the current person viewing.

Viewing all articles
Browse latest Browse all 47296

Trending Articles



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