Microsoft Azure Monitor Telegraf Output PluginUse This InfluxDB Integration for Free
Microsoft Azure Monitor is a solution for collecting, analyzing, and acting on telemetry data from Azure and on-premises sources. It aggregates and stores this data in a fully managed and scalable log data store. It has tools for setting up alerts and analyzing data to help identify and solve problems quickly. It integrates with DevOps tools like Azure DevOps, Jira, and PagerDuty and supports Java, .NET, and Node.js.
Why use the Microsoft Azure Monitor Telegraf Plugin?
The Microsoft Azure Monitor Output Plugin sends metrics from Telegraf to Microsoft Azure Monitor. Azure Monitor has a resolution of one minute so this plugin automatically aggregates metrics to one minute frequencies before sending them to Azure Monitor. This makes it simple to send any data you collect with Telegraf to your Azure Monitor data store. This also lets you seamlessly incorporate InfluxDB into your architecture so you can use its client libraries and tools for analyzing time series data. For example, you can use the Cisco Model-driven Telemetry Input Plugin to send data from an MDT-capable device to InfluxDB, transform it, and then use this output plugin to send it to Azure Monitor.
How to use the Microsoft Azure Monitor Telegraf Plugin
To use this plugin, you first need to set the timeout for HTTP writes. Then you need to set the namespace prefix, which is by default set to
Telegraf/"input-name". The field name for each metric is written as the Azure Monitor metric name. All field values are written as a summarized set that includes minimum, maximum, sum, and count. Tags are written as a dimension on each Azure Monitor metric.
Additional configuration options are listed in further depth in the GitHub README file.
Microsoft Azure Monitor dimensions
Azure Monitor only accepts values with a numeric type and doesn’t have a string value type. This plugin drops fields with a string value type by default, but it can convert string fields to dimensions if you enable
strings_as_dimensions. Azure Monitor only allows up to 10 dimensions so Telegraf will only send the first 10 alphanumeric dimensions. To convert a subset of string-typed fields as dimensions, you can enable
strings_as_dimensions and use the
fielddrop processors to limit the string-typed fields that are sent to the plugin.