Windows上的系统日志 [英] Syslog on Windows
问题描述
我将WSFTP Server用于我们提供的一项关键服务,我想通过Log Analytics对其进行监视.我尝试使用自定义日志",但是WSFTP Server日志文件为XML格式,因此我不能使用新行"作为分隔符和 自定义时间格式也不起作用.我可以在WSFTP服务器日志记录中配置Syslog.我碰到了下面的文章,但它指的是Linux代理.有谁知道Windows代理是否可以收集和转发Syslog事件? 如果我将WSFTP Server Syslog配置为将事件发送到Windows上的127.0.0.1:25224,那行得通吗?
I'm using WSFTP Server for a critical service we provide and I'd like to monitor it with Log Analytics. I tried using "Custom Logs", but the WSFTP Server log files are in an XML format so I can't use "New Line" as a delimiter and the custom time format didn't work either. I can configure Syslog in the WSFTP Server logging. I came across the article below, but it refers to the Linux agent. Does anyone know if the Windows agent can collect and forward Syslog events? If I configure WSFTP Server Syslog to send events to 127.0.0.1:25224 on Windows will that work?
https://docs.microsoft.com/zh-CN/azure/azure-monitor/platform/data-sources-syslog
Gus Jones
Gus Jones
推荐答案
Gus很乐意提供帮助.
Hi Gus, happy to help.
Have you tried installing the Log analytics agent on the WSFTP Server using these steps? I assume your WSFTP server runs on Windows OS so installing and configuring the OS-appropriate Log analytics agent may be the preferred approach unless you have already tried this.
使用Windows代理收集Syslog事件并将其转发到Azure日志分析的AFAIK未经测试/不受支持,而不是建议的路径.
AFAIK, using Windows agent to collect and forward Syslog events to Azure log analytics is untested/unsupported and not the recommended path.
欢呼
这篇关于Windows上的系统日志的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!