Hi!
I am trying to localize the source of certain queries seen in QUERY_REQUESTS of my vertica instance.
I get a session_id. The SESSIONS table has the fields I am after:
client_type
client_version
client_os
client_os_user_name
client_authentication_name
client_authentication
requested_protocol
effective_protocol
The problem is, once the query's session_id appears in SESSIONS in 30 seconds it is no longer there. Gone.
Is there a way to get the client details better, than scanning SESSIONS table every second?
PS: I could use vertica.log but it doesn't have all the client fields I need