diff options
author | Christian Poessinger <christian@poessinger.com> | 2022-05-20 17:19:11 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-20 17:19:11 +0200 |
commit | 8dc416ade4fcb9b9d8289756163b1361af59d29f (patch) | |
tree | 68def70efc57396077ac25b4196b671b02d49489 /data/templates/monitoring | |
parent | 55b075df8260b46541972d6f62bcc0956a7af50d (diff) | |
parent | dd2b753fb7c60cba0c79d9a3a19611312282dbce (diff) | |
download | vyos-1x-8dc416ade4fcb9b9d8289756163b1361af59d29f.tar.gz vyos-1x-8dc416ade4fcb9b9d8289756163b1361af59d29f.zip |
Merge pull request #1317 from sever-sever/T4418
monitoring: T4418: Add output plugin azure-data-explorer
Diffstat (limited to 'data/templates/monitoring')
-rw-r--r-- | data/templates/monitoring/telegraf.j2 | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/data/templates/monitoring/telegraf.j2 b/data/templates/monitoring/telegraf.j2 index d1a94366b..a732fb5de 100644 --- a/data/templates/monitoring/telegraf.j2 +++ b/data/templates/monitoring/telegraf.j2 @@ -14,6 +14,23 @@ logfile = "" hostname = "" omit_hostname = false +{% if azure_data_explorer is vyos_defined %} +### Azure Data Explorer ### +[[outputs.azure_data_explorer]] + ## The URI property of the Azure Data Explorer resource on Azure + endpoint_url = "{{ azure_data_explorer.url }}" + + ## The Azure Data Explorer database that the metrics will be ingested into. + ## The plugin will NOT generate this database automatically, it's expected that this database already exists before ingestion. + database = "{{ azure_data_explorer.database }}" + metrics_grouping_type = "{{ azure_data_explorer.group_metrics }}" + + ## Name of the single table to store all the metrics (Only needed if metrics_grouping_type is "SingleTable"). +{% if azure_data_explorer.table is vyos_defined and azure_data_explorer.group_metrics == 'SingleTable' %} + table_name = "{{ azure_data_explorer.table }}" +{% endif %} +### End Azure Data Explorer ### +{% endif %} {% if influxdb_configured is vyos_defined %} ### InfluxDB2 ### [[outputs.influxdb_v2]] |