开发者

LogParser2.2 and Logs on load-balanced servers

开发者 https://www.devze.com 2023-03-11 11:13 出处:网络
I need to run a report that show开发者_C百科s all authenticated users. The query itself seems to be pretty easy. My problem is that I have to gather data from 2 sets of logs (we run our web applicatio

I need to run a report that show开发者_C百科s all authenticated users. The query itself seems to be pretty easy. My problem is that I have to gather data from 2 sets of logs (we run our web application in a load balanced set up). Has anyone have to deal with a similiar task?


If you can access both logs via one machine then your FROM clause can certainly include both log directory paths:

SELECT TOP 10 *
FROM \\server1\Logs\*ex*.log, \\server2\Logs\*ex*.log

In every environment where I've had to parse logs we've had processes in place to pull logs down to a single server, and then we do any parsing on that machine (and it serves as a backup).

0

精彩评论

暂无评论...
验证码 换一张
取 消