Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
* Create a role and then update it
private static void createRoleExample() {
Service splunkService = connectAndLoginToSplunkExample();
// Create a new role called 'testrole'
Role role = splunkService.getRoles().create("testrole");
// refresh state from server
// Import properties from the 'user' role and update the server
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.