Skip to content

Commit 3125a17

Browse files
VihasMakwanardner
andauthored
[windows/perfmon] - Expose match_by_parent_instance option for perfmon (#15763)
Expose the "Perfmon Match By Parent Instance" option in Windows Perfmon (default=true). When unchecked, unique instance names are used for processes with the same name. Co-authored-by: Denis <[email protected]>
1 parent bdf01ed commit 3125a17

File tree

4 files changed

+15
-1
lines changed

4 files changed

+15
-1
lines changed

packages/windows/changelog.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
11
# newer versions go on top
2+
- version: "3.2.0"
3+
changes:
4+
- description: Expose the "Perfmon Match By Parent Instance" option in Windows Perfmon (default=true). When unchecked, unique instance names are used for processes with the same name.
5+
type: enhancement
6+
link: https://github.com/elastic/integrations/pull/15763
27
- version: "3.1.3"
38
changes:
49
- description: Add powershell.file.script_block_entropy and powershell.file.script_block_entropy_normalized fields.

packages/windows/data_stream/perfmon/agent/stream/stream.yml.hbs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ condition: ${host.platform} == 'windows'
33
perfmon.group_measurements_by_instance: {{perfmon.group_measurements_by_instance}}
44
perfmon.ignore_non_existent_counters: {{perfmon.ignore_non_existent_counters}}
55
perfmon.refresh_wildcard_counters: {{perfmon.refresh_wildcard_counters}}
6+
perfmon.match_by_parent_instance: {{perfmon.match_by_parent_instance}}
67
perfmon.queries: {{perfmon.queries}}
78
period: {{period}}
89
{{#if processors}}

packages/windows/data_stream/perfmon/manifest.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,14 @@ streams:
2727
show_user: true
2828
default: false
2929
description: Enabling this option will cause the counter list to be retrieved after each fetch, rather than once at start time.
30+
- name: perfmon.match_by_parent_instance
31+
type: bool
32+
title: Perfmon Match By Parent Instance
33+
multi: false
34+
required: false
35+
show_user: true
36+
default: true
37+
description: Enabling this option will cause all instances of the same parent (process name) to have the same instance value. Disable this option if you run multiple processes with the same name (e.g. IIS workers).
3038
- name: perfmon.queries
3139
type: yaml
3240
title: Perfmon Queries

packages/windows/manifest.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: windows
22
title: Windows
3-
version: 3.1.3
3+
version: 3.2.0
44
description: Collect logs and metrics from Windows OS and services with Elastic Agent.
55
type: integration
66
categories:

0 commit comments

Comments
 (0)