Reputation: 568
I set up a Log Analytics workspace for one of my servers and I manually added several performance counters.
Is there a fast way to copy the performance counters to future workspaces, or do I have to manually add them each time?
Upvotes: 0
Views: 71
Reputation: 528
It isn't possible to copy Performance Counters between LA workspace, however you can automate the process using PowerShell. Here is a SO thread where one of the community member has provided sample solution on how to add the performance counter using PowerShell.
Another article for your reference: Create workspace and configure data sources.
Upvotes: 1