hi,
Is there any query to find out last five queries ran by a user. We can do it by using history command.
Like this:
|rest /services/search/jobs | streamstats count BY author | search count<=5