Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 27 additions & 0 deletions .chloggen/45396-winservice-enable-reagg.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# Use this changelog template to create an entry for release notes.

# One of 'breaking', 'deprecation', 'new_component', 'enhancement', 'bug_fix'
change_type: 'enhancement'

# The name of the component, or a single word describing the area of concern, (e.g. receiver/filelog)
component: receiver/windowsservice

# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`).
note: Enables dynamic metric reaggregation in the Splunk Enterprise receiver. This does not break existing configuration files.

# Mandatory: One or more tracking issues related to the change. You can use the PR number here if no issue exists.
issues: [45396]

# (Optional) One or more lines of additional information to render under the primary note.
# These lines will be padded with 2 spaces and then inserted directly into the document.
# Use pipe (|) for multiline entries.
subtext:

# If your change doesn't affect end users or the exported elements of any package,
# you should instead start your pull request title with [chore] or use the "Skip Changelog" label.
# Optional: The change log or logs in which this entry should be included.
# e.g. '[user]' or '[user, api]'
# Include 'user' if the change is relevant to end users.
# Include 'api' if there is a change to a library API.
# Default: '[user]'
change_logs: [user, api]
4 changes: 2 additions & 2 deletions receiver/windowsservicereceiver/documentation.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,5 @@ Gauge values map to service status as follows: 0 - Failed to retrieve service st

| Name | Description | Values | Requirement Level |
| ---- | ----------- | ------ | -------- |
| name | The name of the windows Service being reported. | Any Str | Recommended |
| startup_mode | Startup mode of Windows Service | Str: ``boot_start``, ``system_start``, ``auto_start``, ``demand_start``, ``disabled`` | Recommended |
| name | The name of the windows Service being reported. | Any Str | Required |
| startup_mode | Startup mode of Windows Service | Str: ``boot_start``, ``system_start``, ``auto_start``, ``demand_start``, ``disabled`` | Required |

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,14 @@ all_set:
metrics:
windows.service.status:
enabled: true
attributes: ["name","startup_mode"]
reaggregate_set:
metrics:
windows.service.status:
enabled: true
attributes: ["name","startup_mode"]
none_set:
metrics:
windows.service.status:
enabled: false
attributes: ["name","startup_mode"]
4 changes: 4 additions & 0 deletions receiver/windowsservicereceiver/metadata.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,18 @@ status:
active: [pjanotti, shalper2]
unsupported_platforms: [darwin, linux]

reaggregation_enabled: true

attributes:
name:
description: The name of the windows Service being reported.
type: string
requirement_level: required
startup_mode:
description: Startup mode of Windows Service
enum: [boot_start, system_start, auto_start, demand_start, disabled]
type: string
requirement_level: required

metrics:
windows.service.status:
Expand Down
Loading