【发布时间】:2022-01-11 15:20:08
【问题描述】:
我在 Splunk Enterprise 中遇到了一个关于获取我的场景的平均每秒事务数的问题。就我而言,我想在给定的时间段内,获取每个 Web 服务请求的平均每秒事务数...
当我使用以下语法时,它工作正常:
index="index"
| transaction "correlationId" keepevicted=true
| timechart span=1s count as TPS
| stats count avg(TPS)
...但是我得到所有网络服务请求的平均每秒事务数。
如果我尝试以下操作:
index="index"
| transaction "correlationId" keepevicted=true
| timechart span=1s count as TPS
| stats count avg(TPS) by "service"
...我没有得到任何结果
我在这里做错了什么吗?
非常感谢所有帮助和提示
【问题讨论】:
标签: monitoring data-analysis splunk splunk-query splunk-formula