Restricting a search to the specific security index minimizes the data retrieved and scanned. A wildcard index searches all available indexes, and adding index=security with OR does not narrow that scope. Splunk recommends specifying the index whenever possible to improve search performance.
Community Discussion