So I found my answer
In my search head event viewer I got this error"
File "C:\Program Files\Splunk\Python-2.7\Lib\site-packages\win32\win32serviceutil.py", line 785, in SvcRun self.SvcDoRun() File "C:\Program Files\Splunk\bin\SplunkWebService.py", line 40, in SvcDoRun root.run(blocking=False) File "C:\Program Files\Splunk\Python-2.7\Lib\site-packages\splunk\appserver\mrsparkle\root.py", line 539, in run i18n.init_js_cache(flush_files=True) File "C:\Program Files\Splunk\Python-2.7\Lib\site-packages\splunk\appserver\mrsparkle\lib\i18n.py", line 741, in init_js_cache os.unlink(os.path.join(CACHE_PATH, fn))
(32, 'The process cannot access the file because it is being used by another process', 'C:\Program Files\Splunk\var\run\splunk\appserver\i18n\version')
So I checked the "version" folder it was empty I just deleted the folder and started the splunkweb service again and it was regenerated and now it's working yeyyy
... View more