Application Framework Reference

Splunk API

setSID()

The setSID() method sets the current job search identifier to the specified value. This method calls setSearchId() .

Synopsis

setSID( searchID )

Parameters

searchID

String

Search identifier.

Example

var context = this.getContext();
var search = context.get('search');

search.job.setSID("TEST_HARNESS_MODE_ID_" + (20000*Math.random()));
 

See Also

getSearchId()
getSID()
setSearchId()