日志查询 [英] Log Query
问题描述
嗨
我们已将Log Analytics配置为从我们的VM收集数据.当我执行PERF查询时,我只会从一台服务器返回数据.我的理解是,如果我只键入PERF,则应该在配置的所有服务器上获取大量数据.如果我只是查询EVENT,我会 获取所有服务器的数据.
We have Log Analytics configured to collect data from our VMs. When i do a PERF query, i only get data returned from one server. My understanding is if i just type PERF, i should get a lot of data on all the servers configured. If i just query EVENT, i do get data for all the servers.
我缺少某些东西还是无法正确理解?
Am i missing something or not understanding correctly?
谢谢
Shane
推荐答案
您好,Shane,这将是调试挑战,而又看不到您的实际查询,但是这里有一些有用的参考资料+有关如何使用 PERF语法.
Hi Shane, this will be a challenge to debug without seeing your actual query but here are some useful references + examples on how to use the PERF syntax.
Also, if you are familiar with T-SQL, here is a pretty neat cheat sheet that helps those familiar with T-SQL quesries to effectively learn log analytics query language. Hope this helps.
这篇关于日志查询的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!