Recently I migrated ES from one SH to another non cluther SH . this error was popping in the panel of ES app
Error in 'DispatchManager': The user 'admin' does not have sufficient search privileges.
So to resolve this i searched about this error and there was a solution to remove owner=admin from default.meta file . It worked for some panels but some panels still show this error.
ES does require that the "admin" account exist. By default, saved searches use "dispatchAs" setting of "owner". The owner of the searches is set to "admin" via default.meta.
Thus, removing the admin user will cause searches to fail. If the admin user to removed, then the following error will be observed when searches are executed that attempt to run under the admin user:
'DispatchManager': The user 'admin' does not have sufficient search privileges.
To fix this issue, restore the admin user. The searches should begin working immediately (no restart required).
Could you please tell me how to restore admin?