No commit activity in last 3 years
No release in over 3 years
This gem is a Logstash plugin required to be installed on top of the Logstash core pipeline using $LS_HOME/bin/logstash-plugin install gemname. This gem is not a stand-alone program
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

>= 1.3.1, ~> 1.3

Runtime

 Project Readme

Logstash Gunzip Input Plugin

Awards

Travis Build Status

Gem Version

Introduction

This is a plugin for Logstash.

It is fully free and fully open source. The license is Apache 2.0, meaning you are pretty much free to use it however you want in whatever way.

Purpuse and use case

This input plugin read in place gziped file. I use this plugin to parse log file that has already been logrotated, and also to parse huge files that could not be decompressed easily.

How to use it

bin/logstash-plugin install logstash-input-gunzip
bin/logstash -e 'input { gunzip { path => ["/var/log/syslog.2.gz", "/var/log/syslog.3.gz"] } } output {stdout { codec => rubydebug }}'

Contribute

Build the gem

docker run -it --rm -v "$PWD":/usr/src/app -w /usr/src/app jruby:9 /bin/bash
$ bundle install --system
$ bundle exec rspec
$ gem build logstash-input-gunzip.gemspec

Publish

$ curl -uUsername:Password https://rubygems.org/api/v1/api_key.yaml > ~/.gem/credentials
$ chmod 0600 ~/.gem/credentials
$ bundle exec rake publish_gem