Yes, per pre-defined interval. If it's a query that is not very resource intensive you could use differential mode (the default) with removed=false and a very low interval to get near real time. I don't know how the perf is on the shell_history table.