client/splunk.js
function(args, callback) {
            if (utils.isUndefined(callback)) {
                callback = args;
                args = {};
            }
            if (!args || Object.keys(args).length === 0) {
                args = {};
            }

            // If tstats is undefined, use pivotSearch (try to run an accelerated search if possible)
            this.service.search(this.tstatsSearch || this.pivotSearch, args, callback);
        }
function(args, callback) {
            if (utils.isUndefined(callback)) {
                callback = args;
                args = {};
            }
            if (!args || Object.keys(args).length === 0) {
                args = {};
            }

            // If tstats is undefined, use pivotSearch (try to run an accelerated search if possible)
            this.service.search(this.tstatsSearch || this.pivotSearch, args, callback);
        }
function ( args , callback ) { if ( utils . isUndefined ( callback ) ) { callback = args ; args = { } ; } if ( ! args || Object . keys ( args ) . length === 0 ) { args = { } ; } // If tstats is undefined, use pivotSearch (try to run an accelerated search if possible) this . service . search ( this . tstatsSearch || this . pivotSearch , args , callback ) ; }
Starts a search job running this pivot, accelerated if possible.

@param {Object} args A dictionary of properties for the search job (optional). For a list of available parameters, see <a href="http://dev.splunk.com/view/SP-CAAAEFA#searchjobparams" target="_blank">Search job parameters</a> on Splunk Developer Portal.
**Note:** This method throws an error if the `exec_mode=oneshot` parameter is passed in with the properties dictionary.
@param {Function} callback A function to call when done creating the search job: `(err, job)`.
@method splunkjs.Service.Pivot
Starts a search job running this pivot accelerated if possible .