LogAnalytics查询/磁盘故障,inode错误...... [英] LogAnalytics Queries For/ Disk Failures, inode errors...

查看:73
本文介绍了LogAnalytics查询/磁盘故障,inode错误......的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Hello There!  我正在与正在探索LogAnalytics查询的客户一起查询以下是他的Linux虚拟机


  1. 检测inode错误或文件同步错误
  2. 检测任何类型的磁盘错误:最近我的客户看到fstab错过了磁盘条目(文件系统表)并且在VM重新启动时导致磁盘未被检测到
  3. 随时登录的用户以及每个用户运行的进程

我已经提到过这个文件:
https://docs.microsoft.com/en-us/azure/azure-monitor/log-query/advanced-query-writing
但找不到任何内容


您能否分享以上指示?


谢谢,


- Mayur


解决方案

Hi Mayur,



Syslog数据源收集器帮助从受支持的工具(如user,daemon,uucp,auth等)监视syslog事件记录协议记录。有关详细信息,请参阅
this
教程。



对于任何其他设施(如用户的utmp)在任何时候登录等),按照说明配置自定义日志数据源

here
。如果您的数据无法使用自定义日志收集,请使用HTTP Data Collector API将数据直接发送到Azure Monitor,如

here 。



有关对象和计数器(如inode,磁盘,内存)的要求,网络,处理器,进程,用户,正常运行时间等,配置所需的性能计数器,如

这里




希望这有助于!!干杯!!

Hello There! I am working with a customer who is exploring LogAnalytics queries to query the following for his Linux VMs

  1. Detect inode errors or file sync errors
  2. Detect any types of disk errors : In the recent times my customer has seen disk entries being missed out in fstab (File System Table) and it has been resulting into disk not being detected when the VM reboots
  3. Users logged in at any time and also the processes run by each user

I have referred to this document: https://docs.microsoft.com/en-us/azure/azure-monitor/log-query/advanced-query-writing but could not find any

Can you please share any pointers for the above?

Thanks,

--Mayur

解决方案

Hi Mayur,

Syslog data source collector helps to monitor syslog event logging protocol records from supported facilities like user, daemon, uucp, auth, etc. For detailed information, refer this tutorial.

For any other facilities (like utmp for users logged in at any time, etc.), configure a Custom Logs data source as explained here. In case if your data cannot be collected with custom logs then send the data directly to Azure Monitor using HTTP Data Collector API as explained here.

For requirements related to objects and counters like inodes, disk, memory, network, processor, processes, users, uptime, etc., configure required performance counters as explained here.

Hope this helps!! Cheers!!


这篇关于LogAnalytics查询/磁盘故障,inode错误......的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆