map
mapコマンドを使用して、createviewコマンドの使用によって作成されたビューを、linkコマンドによって識別されたグループと結合して新しいプロパティを作成します。
構文
map <subquery> using <view_name>パラメータ
次の表に、このコマンドで使用されるパラメータとその説明を示します。
| パラメータ | 説明 |
|---|---|
|
|
グループに関連付ける新しいプロパティを記述する副問合せ。これには2つの部分があります:
|
view_name |
|
一般的なシナリオでこのコマンドを使用する例は、次を参照してください:
次のコマンドは、アプリケーション・エラーがあるすべてのエンティティ・グループをマークするプロパティを作成します:
* | link Entity, Label
| createview [
* | where Label = 'Application Error'
| rename Entity as 'Application Error Entity'
] as 'Application Error View'
| map [ * | where Entity = 'Application Error Entity'
| eval 'Has Issue' = Yes
] using 'Application Error View'