Splunk SPLK-2001 Question Answer
When using the Splunk Web Framework to create a global search, which is the correct post-process syntax for the base search shown below?
var searchmain = new SearchManager{{ id: “base-search”,
search: “index= internal | head 10 | fields “*”, preview: true,
cache: true
}};