Skip to content

Instantly share code, notes, and snippets.

@anthonygtellez
Created June 1, 2015 05:12
Show Gist options
  • Save anthonygtellez/fd14f4969225678b8b4d to your computer and use it in GitHub Desktop.
Save anthonygtellez/fd14f4969225678b8b4d to your computer and use it in GitHub Desktop.
Set Default token in splunk on page load
require(['splunkjs/ready!'], function(mvc) {
var tokens = mvc.Components.get('default');
tokens.set('myToken', 'initialValue');
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment