...
On Splunk's menu bar, Click on Search -> Advanced search -> Search Macros -> search term (sap-index)
Before ::
...
Since our index is sap. Removed the double quotes and changed to the index which is defined (In our case index=sap) and then run Post configuration wizard setup again.
...