Sep 06 2021
- last edited on
Apr 08 2022
I am looking for way using KQL query or powerShell commands on how to automate capacity free space % free like we get from disk managment in windows server.
Screenshot for example
Sep 06 2021 05:42 PM - edited Sep 06 2021 05:44 PM
I'm not sure if I completely understand what you want. What I understand you would like to create an alert based on free disk space using KQL.
1) You need a log analytics workspace where you will store all captured data
2) You may need to install log analytics agents on the virtual machines to collect performance counters and configure the agents to collect the disk counter
3) You can create alerts based on KQL querys
Sep 06 2021 08:14 PM
@DennesTorres thanks for looking into it.
i am not looking into any alert setup there is already powershell script giving CPU, memory info in which i have to amend and include disk managment data also.
For extracting that i need KQL query which can give data like total disk capacity of drive in GB, free space etc.
Hope you are able to understand it.
Sep 06 2021 08:41 PM
Sep 06 2021 09:21 PM
Sep 07 2021 12:43 AM
Sep 07 2021 03:11 AM