Application Framework Reference

Splunk API

getPath()

The getPath() method gets the current location path without the localization segment.

Synopsis

results = Splunk.util.getPath()

Return Value

String

Current location path without localization.

Example

   var pathVal = Splunk.util.getPath();
 

See Also

getParameter()
make_url()
queryStringToProp()