Forum Discussion

StephenMorrison's avatar
StephenMorrison
Copper Contributor
Feb 12, 2019
Solved

Include workspace name in query output

Is there a way to systematically collect the workspace name and include it in the output of a log analytics query?   We are working on an event management project and the json output includes the w...
  • Hi,

    There is no such option available as far as I know. If you manage your configuration as code you can potentially when deploying every query/alert that you have to put statically the name of the workspace with something like

     

    | extend workspaceName = 'Workspace1'

    Mark this reply as answer if it provides some answer to your question.

Resources