Forum Discussion
jjsantanna
Jan 29, 2021Brass Contributor
(KQL) calling a workspace() using a variable
Dear, I need/want to call a (cross) LogAnalytics workspace using a variable. Something like the following: let var_j="ABCD"; workspace(var_j).WhateverTable Of course, it works if I do: workspa...
jjsantanna
Feb 04, 2021Brass Contributor
NOT YET my dear printscreen. But thanks so far for your willingness .
Using your example I want the following:
let x = 'workspacename1';
workspace(x).AzureActivity
Using your example I want the following:
let x = 'workspacename1';
workspace(x).AzureActivity
Luizao_f
Aug 27, 2021Brass Contributor
Good afternoon, jjsantanna.
Did you have any help with this point? I am experiencing the same problem but I am not succeeding. I declare the value of the workspace in a variable and pass the variable in the expression workspace(var_).Syslog, however, it is not working.
Got an answer with that?
Did you have any help with this point? I am experiencing the same problem but I am not succeeding. I declare the value of the workspace in a variable and pass the variable in the expression workspace(var_).Syslog, however, it is not working.
Got an answer with that?
- jjsantannaAug 30, 2021Brass ContributorNo. This specific issue was not solved!