Azure Monitor
An Azure service that is used to collect, analyze, and act on telemetry data from Azure and on-premises environments.
3,320 questions
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I want to create a metric based on this powershell output that I'd generate regularly with a task on the machine:
Get-DhcpServerv4ScopeStatistics -ComputerName hostname
How can I turn this into a metric that I can feed into log analytics?
Hi,
If you want to ingest any custom data you need to use Logs Ingestion API. I would suggest to do first the example to understand how the feature works before implementing it for your specific case.
Please "Accept the answer" if the information helped you. This will help us and others in the community as well.