Last active
July 9, 2023 21:02
-
-
Save agup006/e725984623e96568712926c5846ed058 to your computer and use it in GitHub Desktop.
The following are configuration files for collecting Windows events and Windows metrics
This file contains 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
[INPUT] | |
Name winevtlog | |
Channels Setup,Windows PowerShell | |
Interval_Sec 1 | |
DB winevtlog.sqlite | |
[OUTPUT] | |
Name stdout | |
Match * |
This file contains 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
# Node Exporter Metrics + Prometheus Exporter | |
# ------------------------------------------- | |
# The following example collect host metrics on Linux and expose | |
# them through a Prometheus HTTP end-point. | |
# | |
# After starting the service try it with: | |
# | |
# $ curl http://127.0.0.1:2021/metrics | |
# | |
[SERVICE] | |
flush 1 | |
log_level info | |
[INPUT] | |
name windows_exporter_metrics | |
tag node_metrics | |
scrape_interval 2 | |
[OUTPUT] | |
name prometheus_exporter | |
match node_metrics | |
host 0.0.0.0 | |
port 2021 | |
This file contains 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
[SERVICE] | |
flush 1 | |
log_level info | |
[INPUT] | |
name windows_exporter_metrics | |
tag node_metrics | |
scrape_interval 2 | |
[INPUT] | |
Name winevtlog | |
Channels Setup,Windows PowerShell | |
Interval_Sec 1 | |
DB winevtlog.sqlite | |
[OUTPUT] | |
Name stdout | |
Match * |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment