All Projects → Azure → fluentd-plugin-mdsd

Azure / fluentd-plugin-mdsd

Licence: other
Azure Linux monitoring agent (mdsd) output plugin for fluentd

Programming Languages

C++
36643 projects - #6 most used programming language
ruby
36898 projects - #4 most used programming language
shell
77523 projects
CMake
9771 projects
python
139335 projects - #7 most used programming language
Makefile
30231 projects

Projects that are alternatives of or similar to fluentd-plugin-mdsd

fluent-plugin-webhdfs
Hadoop WebHDFS output plugin for Fluentd
Stars: ✭ 57 (+119.23%)
Mutual labels:  fluentd, fluentd-plugin
fluent-plugin-grok-parser
Fluentd's Grok parser
Stars: ✭ 100 (+284.62%)
Mutual labels:  fluentd, fluentd-plugin
fluent-plugin-redis
Redis output plugin for Fluent event collector
Stars: ✭ 40 (+53.85%)
Mutual labels:  fluentd, fluentd-plugin
fluent-plugin-gcs
Google Cloud Storage output plugin for Fluentd.
Stars: ✭ 39 (+50%)
Mutual labels:  fluentd, fluentd-plugin
fluent-plugin-http-pull
The input plugin of fluentd to pull log from rest api.
Stars: ✭ 19 (-26.92%)
Mutual labels:  fluentd, fluentd-plugin
fluent-plugin-rabbitmq
Fluent input/output plugin for RabbitMQ.
Stars: ✭ 26 (+0%)
Mutual labels:  fluentd, fluentd-plugin
fluent-plugin-ec2-metadata
Fluentd output plugin to add Amazon EC2 metadata into messages
Stars: ✭ 43 (+65.38%)
Mutual labels:  fluentd, fluentd-plugin
fluent-plugin-windows-eventlog
Fluentd plugin to collect windows event logs
Stars: ✭ 27 (+3.85%)
Mutual labels:  fluentd, fluentd-plugin
fluent-plugin-multiprocess
Multiprocess agent plugin for Fluentd
Stars: ✭ 42 (+61.54%)
Mutual labels:  fluentd, fluentd-plugin
Logback More Appenders
Extra appenders for Logback.
Stars: ✭ 93 (+257.69%)
Mutual labels:  fluentd
Fluent Plugin Rewrite Tag Filter
Fluentd Output filter plugin to rewrite tags that matches specified attribute.
Stars: ✭ 151 (+480.77%)
Mutual labels:  fluentd
Fluent Plugin Sql
SQL input/output plugin for Fluentd
Stars: ✭ 82 (+215.38%)
Mutual labels:  fluentd
Fluent Agent Hydra
A Fluentd log agent.
Stars: ✭ 102 (+292.31%)
Mutual labels:  fluentd
Fluentular
Fluentular is a Fluentd regular expression editor
Stars: ✭ 154 (+492.31%)
Mutual labels:  fluentd
Go Fluentd
rewrite fluentd in golang
Stars: ✭ 89 (+242.31%)
Mutual labels:  fluentd
Fluent Logger Java
A structured logger for Fluentd (Java)
Stars: ✭ 186 (+615.38%)
Mutual labels:  fluentd
Fluent Plugin Concat
Fluentd Filter plugin to concatenate multiline log separated in multiple events.
Stars: ✭ 78 (+200%)
Mutual labels:  fluentd
Log Pilot
Collect logs for docker containers
Stars: ✭ 1,112 (+4176.92%)
Mutual labels:  fluentd
Fluent Logger Ruby
A structured logger for Fluentd (Ruby)
Stars: ✭ 238 (+815.38%)
Mutual labels:  fluentd
Fluent Plugin Cloudwatch Logs
CloudWatch Logs Plugin for Fluentd
Stars: ✭ 179 (+588.46%)
Mutual labels:  fluentd

Azure Linux monitoring agent (mdsd) output plugin for Fluentd

Overview

This is fluentd output plugin for Azure Linux monitoring agent (mdsd). Mdsd is the Linux logging infrastructure for Azure services. It connects various log outputs to Azure monitoring service (Geneva warm path).

The mdsd output plugin is a buffered fluentd plugin.

Installation

NOTE: The plugin gem must be installed using fluent-gem.

Download the gemfile to your computer. Assume it is saved to /path/to/gemfile.

For td-agent, run

$sudo bash
$umask 22
$/opt/td-agent/embedded/bin/fluent-gem install /path/to/gemfile

For oms-agent, run

$sudo bash
$umask 22
$/opt/microsoft/omsagent/ruby/bin/fluent-gem install /path/to/gemfile

Expected Data Formats

The data records sent to this plugin are expected to be in a flat structure key-value pairs, where each value are primitive types like number, string, boolean, or time. Value types including Array, Hash, and Range will be dumped as strings.

If this behavior doesn't meet your requirements, the recommended way is to create filter plugins for your data records.

Configuration

See configuration sample

The mdsd output plugin is a buffered fluentd plugin. Besides supporting all the fluentd buffered plugin parameters, it supports the following required parameters

  • log_level: this is standard fluentd per plugin log level. Valid values are: fatal, error, warn, info, debug, trace.

  • djsonsocket: this is the full path to mdsd dynamic json socket file.

  • acktimeoutms: max time in milliseconds to wait for mdsd acknowledge response. Before timeout, mdsd plugin will retry periodically to resend the events to mdsd. After timeout, the events holding in mdsd plugin memory will be dropped. If acktimeoutms is 0, the plugin won't do any failure retry if it cannot receives acknowledge from mdsd.

  • mdsd_tag_regex_patterns: (Optional) An array of regex patterns for mdsd source name unification purpose. The passed will be matched against each regex, and if there's a match, the matched substring will be used as the resulting mdsd source name. For example, if the tag is mdsd.ext_syslog.user.info and the regex is ^mdsd\.ext_syslog\.\w+, then mdsd.ext_syslog.user will be the mdsd source name. If this parameter is not specified, or for tags not matching any regexes in this array parameter, the original fluentd tag will be used as the mdsd source name. Default: [].

  • resend_interval_ms: the interval in milliseconds that failed messages are resent to mdsd by this plugin. Default: 30,000.

  • conn_retry_timeout_ms: the timeout in milliseconds to do network connection retry when connecting to mdsd process failed. Default: 60,000.

  • emit_timestamp_name: the field name for the event emit time stamp. Default: "FluentdIngestTimestamp".

  • use_source_timestamp: use the timestamp in the record source. If false, sets the time to Time.now Default: true.

Usage

  1. Install and configure mdsd. mdsd is a separate component. Please refer to related document.

  2. Install the mdsd output plugin following Installation section.

  3. Configure fluentd using mdsd as the output plugin. Configure fluentd using whatever input plugin you want to use.

  4. Start (or restart) fluentd daemon.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].