today I began to troubleshoot an issue that I was asked to resolve, and for the first time I found myself querying in the SSAS database. I obtained a very useful set of results (who was connecting to what applications/cubes and for how long), but for the life of me I cannot figure out how to get the results from that query into a database table so that I can track the data. Any help would be much appreciated, and thank you in advance for any assistance you are able to provide.
Here is the query I am running:
Select connection_id , connection_user_name , connection_impersonated_user_name , connection_host_name , connection_host_application , connection_start_time , connection_elapsed_time_ms , connection_last_command_start_time , connection_last_command_end_time , connection_last_command_elapsed_time_ms , connection_idle_time_ms , connection_bytes_sent , connection_bytes_received , connection_data_bytes_received FROM $system.discover_connections
This returns all of the information I am currently interested in seeing.