azure - 使用 Kusto Query 在 Azure LAWS 中创建计算机组
问题描述
我正在尝试从日志分析保存的搜索中创建用于更新管理的计算机组,但无法完全弄清楚。
使用此查询时,它将列出名称中包含“test”的所有计算机。工作正常,但不完全是我想要的。
Heartbeat
| where Computer contains "test"
| distinct Computer
但是,当我想按特定名称添加计算机时,出现错误。任何这如何通过使用计算机特定名称来获得结果?
[
Heartbeat
| where Computer contains "test" and "test2" and "test3"
| distinct Computer
还尝试使用“or”“has”“==”但无法使其正常工作。
解决方案
推荐阅读
- java - 锁定 ConcurrentHashMap 以进行独占读取
- r - ggplot2中的reorder()图问题,带有分组变量
- maximo - 如何在 Maximo 的发布渠道中添加跳过规则
- moqui - 实体与数据库表的moqui关系
- sql-server - 获取用于更改主键的动态 SQL
- python - 如何在 gspread python pandas 中使用新值(df_old = 100* 30(已在工作表上)和 df_new= 100*30)的大小更新现有单元格?
- google-apps-script - 谷歌表格 - 删除表单响应以空格开头的行的脚本
- c++ - TensorFlow C API 选择 GPU
- python - 我正在尝试使用 Selenium 和 Python 在 Tradingview 中自动打开图表
- java - Completable 必须在 observable on next 被触发时完成