NQL論理演算子

NQL 'in'

メトリック値がリストに含まれているか確認するために、in論理演算子を使用します。

...
| where package.name in [ "MS Teams", "Zoom" ]
...
| where code in [94011, 94031]

NQL '!in'

!in論理演算子を使用して、指標の値がリストに含まれていないかを確認します。

...
| where hardware.type !in [virtual, null]
...
| where code !in [ 403, 404]

NQL 'contains'

文字列が文字列の配列に含まれているか確認するために、contains論理演算子を使用します。

...
| where monitor.tags contains 'VDI'

NQL '!contains'

文字列が文字列の配列に含まれていないか確認するために、!contains論理演算子を使用します。

...
| where monitor.tags !contains 'VDI'

Last updated

Was this helpful?