The redirect_to() method is a window.document.location wrapper.
Splunk.util.redirect_to( uri , options , windowObj , focus )
|
uri |
String |
Location to redirect to. |
|
options |
Object |
Redirection options: sid = Attaches optional sid in valid format. s = Attaches optional saved search name. q = Attaches optional search string in valid format. |
|
windowObj |
Window Object |
(Optional) Window object to target the location change. |
|
focus |
Boolean |
Window receives focus indication: true = New window receives focus. false = New window does not receive focus. |
Undefined
Splunk.util.redirect_to(['app', Splunk.util.getCurrentApp(), '@go'].join('/'), \
{'sid': '12345678901.123'});