Monitoring 查询要删除的被动主机?
有人能帮我删除splunk中的被动主机吗。我使用的查询是:Monitoring 查询要删除的被动主机?,monitoring,splunk,Monitoring,Splunk,有人能帮我删除splunk中的被动主机吗。我使用的查询是: | metadata type=hosts | sort recentTime | convert ctime(recentTime) as Latest 您应该将最近时间与当前时间进行比较,计算出差异,并将差异与阈值进行比较,以识别这些主机 查询示例: | metadata type=hosts | eval diff=now()-recentTime | eval threshold=3600 | where diff>th
| metadata type=hosts
| sort recentTime
| convert ctime(recentTime) as Latest
您应该将最近时间与当前时间进行比较,计算出差异,并将差异与阈值进行比较,以识别这些主机 查询示例:
| metadata type=hosts | eval diff=now()-recentTime | eval threshold=3600 | where diff>threshold
注意:查询未经测试,但您应该了解