Skip to content

Commit 4b165ae

Browse files
authored
feat: update script to fetch latest Telegraf plugins and run script (#3162)
1 parent 549b041 commit 4b165ae

File tree

6 files changed

+217
-141
lines changed

6 files changed

+217
-141
lines changed

src/writeData/components/telegrafInputPluginsConfigurationText/couchbase.conf

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,11 @@
1313

1414
## Filter bucket fields to include only here.
1515
# bucket_stats_included = ["quota_percent_used", "ops_per_sec", "disk_fetches", "item_count", "disk_used", "data_used", "mem_used"]
16+
17+
## Optional TLS Config
18+
# tls_ca = "/etc/telegraf/ca.pem"
19+
# tls_cert = "/etc/telegraf/cert.pem"
20+
# tls_key = "/etc/telegraf/key.pem"
21+
## Use TLS but skip chain & host verification (defaults to false)
22+
## If set to false, tls_cert and tls_key are required
23+
# insecure_skip_verify = false

src/writeData/components/telegrafInputPluginsConfigurationText/elasticsearch_query.conf

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,13 @@
3737
## The date/time field in the Elasticsearch index (mandatory).
3838
date_field = "@timestamp"
3939

40+
## If the field used for the date/time field in Elasticsearch is also using
41+
## a custom date/time format it may be required to provide the format to
42+
## correctly parse the field.
43+
##
44+
## If using one of the built in elasticsearch formats this is not required.
45+
# date_field_custom_format = ""
46+
4047
## Time window to query (eg. "1m" to query documents from last minute).
4148
## Normally should be set to same as collection interval
4249
query_period = "1m"

src/writeData/components/telegrafInputPluginsConfigurationText/ethtool.conf

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,12 @@
55

66
## List of interfaces to ignore when pulling metrics.
77
# interface_exclude = ["eth1"]
8+
9+
## Some drivers declare statistics with extra whitespace, different spacing,
10+
## and mix cases. This list, when enabled, can be used to clean the keys.
11+
## Here are the current possible normalizations:
12+
## * snakecase: converts fooBarBaz to foo_bar_baz
13+
## * trim: removes leading and trailing whitespace
14+
## * lower: changes all capitalized letters to lowercase
15+
## * underscore: replaces spaces with underscores
16+
# normalize_keys = ["snakecase", "trim", "lower", "underscore"]

src/writeData/components/telegrafInputPluginsConfigurationText/intel_rdt.conf

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,3 +22,7 @@
2222
## Mandatory if cores aren't set and forbidden if cores are specified.
2323
## e.g. ["qemu", "pmd"]
2424
# processes = ["process"]
25+
26+
## Specify if the pqos process should be called with sudo.
27+
## Mandatory if the telegraf process does not run as root.
28+
# use_sudo = false

src/writeData/components/telegrafInputPluginsConfigurationText/win_eventlog.conf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# Input plugin to collect Windows Event Log messages
12
[[inputs.win_eventlog]]
23
## Telegraf should have Administrator permissions to subscribe for some Windows Events channels
34
## (System log, for example)

0 commit comments

Comments
 (0)