No commit activity in last 3 years
No release in over 3 years
This plugin can automatically parse your greenplum and HAWQ logs with fluentd tail input plugin
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
 Dependencies

Development

~> 1.14
~> 12.0
~> 3.0

Runtime

< 2, >= 0.14.10
 Project Readme

fluent-plugin-multiline-greenplum-log

Fluentd parser plugin for greenplum and Apache HAWQ log.

Installation

RubyGems

$ gem install fluent-plugin-multiline-greenplum-log

Bundler

Add following line to your Gemfile:

gem "fluent-plugin-multiline-greenplum-log"

And then execute:

$ bundle

Configuration

This parser need to work with in_tail plugin.

Config your fluentd to parse greenplum/HAWQ logs with this plugin:

<source>
  @id gp_log
  @type tail
  path /home/gpadmin/data_directory/pg_log/*.csv  #this is your log path
  pos_file /var/log/gplogs.csv.pos
  <parse>
    @type multiline_greenplum_log   
  </parse>
  read_from_head true
  tag gp.*
</source>

The parser plugin has following config options:

keys: your csv logs keys, we have provided default value, delete this line if you want use default value

format_firstline: you can use the default value if your log time format is not changed

Copyright

  • Copyright(c) 2018- Violet Cheng @Pivotal
  • License
    • Apache License, Version 2.0