Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added Glob pattern matching for "Windows Services" plugin #8575

Merged
merged 4 commits into from
Dec 16, 2020

Conversation

sspaink
Copy link
Contributor

@sspaink sspaink commented Dec 16, 2020

Required for all PRs:

  • Signed CLA.
  • Associated README.md updated.
  • Has appropriate unit tests.

This pull request addresses the issue #3673
Updated the "Windows Services" plugin to allow glob patterns in the input config for including services.
I based the changes on the Docker plugin which also allows glob pattern matching.

Tested the changes locally and uploaded some information:

[[inputs.win_services]]
  ## Names of the services to monitor. Leave empty to monitor all the available services on the host
  service_names = [
    "Win*",
  ]

image

@sspaink sspaink merged commit b858eb9 into influxdata:master Dec 16, 2020
ssoroka pushed a commit that referenced this pull request Dec 16, 2020
* Allow glob patterns in config

* Update README

* Move creating filter to init

* Need to explictly call init

Co-authored-by: Bas <[email protected]>
(cherry picked from commit b858eb9)
arstercz pushed a commit to arstercz/telegraf that referenced this pull request Mar 5, 2023
…#8575)

* Allow glob patterns in config

* Update README

* Move creating filter to init

* Need to explictly call init

Co-authored-by: Bas <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants