PerfCounterDataSource interface

Definition of which performance counters will be collected and how they will be collected by this data collection rule. Collected from both Windows and Linux machines where the counter is present.

Properties

counterSpecifiers

A list of specifier names of the performance counters you want to collect. Use a wildcard (*) to collect a counter for all instances. To get a list of performance counters on Windows, run the command 'typeperf'.

name

A friendly name for the data source. This name should be unique across all data sources (regardless of type) within the data collection rule.

samplingFrequencyInSeconds

The number of seconds between consecutive counter measurements (samples).

streams

List of streams that this data source will be sent to. A stream indicates what schema will be used for this data and usually what table in Log Analytics the data will be sent to.

Property Details

counterSpecifiers

A list of specifier names of the performance counters you want to collect. Use a wildcard (*) to collect a counter for all instances. To get a list of performance counters on Windows, run the command 'typeperf'.

counterSpecifiers?: string[]

Property Value

string[]

name

A friendly name for the data source. This name should be unique across all data sources (regardless of type) within the data collection rule.

name?: string

Property Value

string

samplingFrequencyInSeconds

The number of seconds between consecutive counter measurements (samples).

samplingFrequencyInSeconds?: number

Property Value

number

streams

List of streams that this data source will be sent to. A stream indicates what schema will be used for this data and usually what table in Log Analytics the data will be sent to.

streams?: string[]

Property Value

string[]