No commit activity in last 3 years
No release in over 3 years
Fluentd Parser plugin for RabbitMQ Trace log in JSON format.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
 Dependencies

Development

~> 1.10
~> 10.0
~> 3.1.4

Runtime

>= 0.10.58
 Project Readme

Fluent::Plugin::RabbitMQJSONTraceParser::Parser

Build Status

Fluentd Parser plugin for RabbitMQ Trace log in JSON format.

Installation

Add this line to your application's Gemfile:

gem 'fluent-plugin-rabbitmq-json-trace-parser'

And then execute:

$ bundle

Or install it yourself as:

$ gem fluent-plugin-rabbitmq-json-trace-parser

Configuration

<source>
  @type tail
  path /path/to/log

  tag rabbitmq.trace

  format rabbitmq_json_trace
  payload_type 'json'
</source>

You can use two values for payload_type:

  1. base64 (default) — to decode payload from Base64 to something meaningful
  2. json — to decode payload from Base64 and then treat it like a JSON object

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.

Thanks

This gem was made as a part of my regular job in Excursiopedia, we successfully debuged some message passing quirks with Fluentd and this small gem.

License

The gem is available as open source under the terms of the MIT License.