Forum Discussion
mayurpuli
Jun 06, 2019Former Employee
LogAnalytics Queries For/ Disk Failures, inode errors...
Hello There! I am working with a customer who is exploring LogAnalytics queries to query the following for his Linux VMs
Detect inode errors or file sync errors
Detect any types of disk errors ...
mayurpuli
Jun 07, 2019Former Employee
Thank you for your response. Thanks for the share! I donot have any idea about this. But it looks to me that user related information can be queried from the Facility 'user', I am honestly not sure which Facility can help in collecting the information about disk errors and file sync errors.
Appreciate your response!
Thank you,
--Mayur
CliveWatson
Jun 07, 2019Former Employee
Sorry I cant help more, hopefully someone with more Linux knowledge can point us to the right area. Has you customer said which facility or custom log they are looking at?
When we have the data in a table, I can help again with the query side.
The public demo workspace has Syslog data (but any disk errors may have passed the retention period anyway).
Syslog | summarize count() by Facility
If your customer has the data, they they could produce a sample using the datatable KQL operator. Like this, but with some extra columns added.
let dummyData = datatable(Date:datetime, dummyTxt:string)
[
datetime(now) , "This is yet another test" ,
datetime(now) , "This is yet another test string"
];
dummyData
| where dummyTxt == "This is yet another test string"
which looks like this:Date [UTC] | dummyTxt 2019-06-07T17:53:14.733 | This is yet another test string
Thanks