PerfCounterDataSource Class
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.
Constructor
PerfCounterDataSource(*, streams: List[str | _models.KnownPerfCounterDataSourceStreams] | None = None, sampling_frequency_in_seconds: int | None = None, counter_specifiers: List[str] | None = None, transform_kql: str | None = None, name: str | None = None, **kwargs: Any)
Keyword-Only Parameters
| Name | Description |
|---|---|
|
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. Default value: None
|
|
sampling_frequency_in_seconds
|
The number of seconds between consecutive counter measurements (samples). Default value: None
|
|
counter_specifiers
|
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'. Default value: None
|
|
transform_kql
|
The KQL query to transform the data source. Default value: None
|
|
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. Default value: None
|
Variables
| Name | Description |
|---|---|
|
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. |
|
sampling_frequency_in_seconds
|
The number of seconds between consecutive counter measurements (samples). |
|
counter_specifiers
|
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'. |
|
transform_kql
|
The KQL query to transform the data source. |
|
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. |