Application Framework Reference

Splunk API

getPostProcess()

The getPostProcess() method gets the postProcess value of the current search.

postProcess is an optional string stored in a search object, which is used by the post process subsystem to perform work on completed search artifacts.

Synopsis

postProcessVal = getPostProcess()

Return Value

String

Search post process string.

Example

var context = this.getContext();var search  = context.get("search");
var postProcess = search.getPostProcess();
if (postProcess) {
    alert('postProcess = ' + escape(postProcess));
} else {
    alert('this search does not have a value for postProcess');
}
 

See Also

getBaseSearch()
setBaseSearch()
setPostProcess()