No release in over 3 years
Low commit activity in last 3 years
Fluentd plugin to normalize SQL queries
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.14
~> 12.0
~> 3.0

Runtime

>= 0.14.10, < 2
 Project Readme

fluent-plugin-query-fingerprint

Fluentd filter plugin to normalize SQL queires.

This plugin does something like pt-fingerprint to specific fields.

Installation

RubyGems

$ gem install fluent-plugin-query-fingerprint

Bundler

Add following line to your Gemfile:

gem "fluent-plugin-query-fingerprint"

And then execute:

$ bundle

Configuration

  • query_key (string)(required): The field name that contain queries to be fingerprinted.
  • fingerprint_key (string)(required): The field name to output fingerprint.
  • preserve_embedded_numbers (boolean)(optional): If it is set to true, the filter does not replace numbers in identifiers. Deafults to false.

Example Configuration

<filter pattern>
  @type query_fingerprint
  query_key sql
  fingerprint_key fingerprint
</filter>

Copyright

  • Copyright(c) 2019- Genta Kamitani
  • License
    • Apache License, Version 2.0