-
Notifications
You must be signed in to change notification settings - Fork 5k
Add metricbeat iis module #15059
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
Merged
Merged
Add metricbeat iis module #15059
Changes from all commits
Commits
Show all changes
45 commits
Select commit
Hold shift + click to select a range
9500d18
created iis module
narph bab0cd4
work in progress
narph 66dfa82
Merge branch 'master' into iis-module
narph b1fba8f
iis changes
narph 7a8ff78
add iis module
narph 6bd81eb
light
narph 3b7b520
Merge branch 'master' into iis-module
narph f5cb0a7
work on build
narph c320a53
work on build
narph 9d5df82
build
narph 222648e
fmt update
narph 00e1a08
temp
narph 258ded3
work on website
narph 5f30e5a
temp
narph 7ab4d2d
Merge branch 'master' into iis-module
narph 92e5873
temp
narph f18b298
manifest changes
narph b770c57
temp
narph ea28cbe
temp
narph 397296b
work on wp
narph 411d9d9
adding application pool metricset
narph 113eec5
wmi option
narph 6aa632b
test
narph ca3f589
work on apppool
narph b739816
work on app pool
narph 552c1b7
work on website metricset
narph d245579
Merge branch 'master' into iis-module
narph fadb63a
work on tests
narph 706b393
Work on website
narph a1656be
work on website
narph 4ab7fa8
Merge branch 'master' into iis-module
narph 1d760b1
work on website
narph 9645ff0
perfmon fix
narph ef247b8
work on websie
narph 2e44357
update config
narph 2e1cc66
Merge branch 'master' into iis-module
narph ecaa80f
feedback
narph fcfd4f3
work on feedback
narph 118f55c
temp
narph d7b9eb9
Merge branch 'master' into iis-module
narph f8ab974
ecs
narph a40569e
Merge branch 'master' into iis-module
narph fbb7cd5
temp
narph 5f1b016
add counters
narph ac81ebe
Merge branch 'master' into iis-module
narph File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,99 @@ | ||
| //// | ||
| This file is generated! See scripts/mage/docs_collector.go | ||
| //// | ||
|
|
||
| [[metricbeat-module-iis]] | ||
| == iis module | ||
|
|
||
| beta[] | ||
|
|
||
| This is the iis module. | ||
|
|
||
| IIS (Internet Information Services) is a secure, reliable, and scalable Web server that provides an easy to manage platform for developing and hosting Web applications and services. | ||
|
|
||
| The `iis` module will periodically retrieve IIS related metrics using performance counters such as: | ||
|
|
||
| - System/Process counters like the the overall server and CPU usage for the IIS Worker Process and memory (currently used and available memory for the IIS Worker Process). | ||
| - IIS performance counters like Web Service: Bytes Received/Sec, Web Service: Bytes Sent/Sec, etc, which are helpful to track to identify potential spikes in traffic. | ||
| - Web Service Cache counters in order to monitor user mode cache and output cache. | ||
|
|
||
|
|
||
| The `iis` module mericsets are `webserver`, `website` and `application_pool`. | ||
|
|
||
| [source,yaml] | ||
| ---- | ||
| - module: iis | ||
| metricsets: | ||
| - webserver | ||
| - website | ||
| - application_pool | ||
| enabled: true | ||
| period: 10s | ||
|
|
||
| # filter on application pool names | ||
| # application_pool.name: [] | ||
| ---- | ||
|
|
||
| [float] | ||
| == Metricsets | ||
|
|
||
| [float] | ||
| === `webserver` | ||
| A light metricset using the windows perfmon metricset as the base metricset. | ||
| This metricset allows users to retrieve aggregated metrics for the entire webserver, | ||
|
|
||
| [float] | ||
| === `website` | ||
| A light metricset using the windows perfmon metricset as the base metricset. | ||
| This metricset will collect metrics of specific sites, users can configure which websites they want to monitor, else, all are considered. | ||
|
|
||
| [float] | ||
| === `application_pool` | ||
| This metricset will collect metrics of specific application pools, users can configure which websites they want to monitor, else, all are considered. | ||
|
|
||
|
|
||
| [float] | ||
| === Module-specific configuration notes | ||
|
|
||
| `application_pool.name`:: []string, users can specify the application pools they would like to monitor. | ||
|
|
||
|
|
||
|
|
||
| [float] | ||
| === Example configuration | ||
|
|
||
| The iis module supports the standard configuration options that are described | ||
| in <<configuration-metricbeat>>. Here is an example configuration: | ||
|
|
||
| [source,yaml] | ||
| ---- | ||
| metricbeat.modules: | ||
| - module: iis | ||
| metricsets: | ||
| - webserver | ||
| - website | ||
| - application_pool | ||
| enabled: true | ||
| period: 10s | ||
|
|
||
| # filter on application pool names | ||
| # application_pool.name: [] | ||
| ---- | ||
|
|
||
| [float] | ||
| === Metricsets | ||
|
|
||
| The following metricsets are available: | ||
|
|
||
| * <<metricbeat-metricset-iis-application_pool,application_pool>> | ||
|
|
||
| * <<metricbeat-metricset-iis-webserver,webserver>> | ||
|
|
||
| * <<metricbeat-metricset-iis-website,website>> | ||
|
|
||
| include::iis/application_pool.asciidoc[] | ||
|
|
||
| include::iis/webserver.asciidoc[] | ||
|
|
||
| include::iis/website.asciidoc[] | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,23 @@ | ||
| //// | ||
| This file is generated! See scripts/mage/docs_collector.go | ||
| //// | ||
|
|
||
| [[metricbeat-metricset-iis-application_pool]] | ||
| === iis application_pool metricset | ||
|
|
||
| beta[] | ||
|
|
||
| include::../../../module/iis/application_pool/_meta/docs.asciidoc[] | ||
|
|
||
|
|
||
| ==== Fields | ||
|
|
||
| For a description of each field in the metricset, see the | ||
| <<exported-fields-iis,exported fields>> section. | ||
|
|
||
| Here is an example document generated by this metricset: | ||
|
|
||
| [source,json] | ||
| ---- | ||
| include::../../../module/iis/application_pool/_meta/data.json[] | ||
| ---- |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,24 @@ | ||
| //// | ||
| This file is generated! See scripts/mage/docs_collector.go | ||
| //// | ||
|
|
||
| [[metricbeat-metricset-iis-webserver]] | ||
| === iis webserver metricset | ||
|
|
||
| beta[] | ||
|
|
||
| include::../../../module/iis/webserver/_meta/docs.asciidoc[] | ||
|
|
||
| This is a default metricset. If the host module is unconfigured, this metricset is enabled by default. | ||
|
|
||
| ==== Fields | ||
|
|
||
| For a description of each field in the metricset, see the | ||
| <<exported-fields-iis,exported fields>> section. | ||
|
|
||
| Here is an example document generated by this metricset: | ||
|
|
||
| [source,json] | ||
| ---- | ||
| include::../../../module/iis/webserver/_meta/data.json[] | ||
| ---- |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,24 @@ | ||
| //// | ||
| This file is generated! See scripts/mage/docs_collector.go | ||
| //// | ||
|
|
||
| [[metricbeat-metricset-iis-website]] | ||
| === iis website metricset | ||
|
|
||
| beta[] | ||
|
|
||
| include::../../../module/iis/website/_meta/docs.asciidoc[] | ||
|
|
||
| This is a default metricset. If the host module is unconfigured, this metricset is enabled by default. | ||
|
|
||
| ==== Fields | ||
|
|
||
| For a description of each field in the metricset, see the | ||
| <<exported-fields-iis,exported fields>> section. | ||
|
|
||
| Here is an example document generated by this metricset: | ||
|
|
||
| [source,json] | ||
| ---- | ||
| include::../../../module/iis/website/_meta/data.json[] | ||
| ---- |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.