GithubHelp home page GithubHelp logo

consulthys / logstash-filter-percolate Goto Github PK

View Code? Open in Web Editor NEW
8.0 4.0 1.0 7 KB

A Logstash filter to percolate events against Elasticsearch

License: Other

Ruby 100.00%
logstash logstash-plugin ruby elasticsearch percolator

logstash-filter-percolate's People

Contributors

consulthys avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

shailesh17mar

logstash-filter-percolate's Issues

Handling percolate results

This functionality is great, but is there a way to use this plug in to percolate documents and then run a script to deal with the results?

Percolate failure

Hi,

Firstly thanks for a great plugin.

I think there is a threading issue. When I run in Logstash with a worker count of 1, all is fine. When I run with a worker count of 4, I get the following error;

Failed to percolate event {:id=>nil, :target=>nil, :event=>#<LogStash::Event:0x445bf3f8 @metadata_accessors=#<LogStash::Util::Accessors:0x7d7b28ce @store={}, @lut={}>, @cancelled=false, @DaTa={"@timestamp"=>"2016-12-22T11:26:41.710Z", "@Version"=>"1", "tags"=>["multiline", "anonymous"], "type"=>"packet", "fingerprint"=>"e65fc68b9c85217fb92ff0be4c5dec189576b417", "Clear Text Message Payload"=>"%{User Data}"}, @metadata={}, @accessors=#<LogStash::Util::Accessors:0x51cefd5 @store={"@timestamp"=>"2016-12-22T11:26:41.710Z", "@Version"=>"1", "tags"=>["multiline", "anonymous"], "type"=>"packet", "fingerprint"=>"e65fc68b9c85217fb92ff0be4c5dec189576b417", "Clear Text Message Payload"=>"%{User Data}"}, @lut={"tags"=>[{"@timestamp"=>"2016-12-22T11:26:41.710Z", "@Version"=>"1", "tags"=>["multiline", "anonymous"], "type"=>"packet", "fingerprint"=>"e65fc68b9c85217fb92ff0be4c5dec189576b417", "Clear Text Message Payload"=>"%{User Data}"}, "tags"], "[tags]"=>[{"@timestamp"=>"2016-12-22T11:26:41.710Z", "@Version"=>"1", "tags"=>["multiline", "anonymous"], "type"=>"packet", "fingerprint"=>"e65fc68b9c85217fb92ff0be4c5dec189576b417", "Clear Text Message Payload"=>"%{User Data}"}, "tags"], "[Clear Text Message Payload]"=>[{"@timestamp"=>"2016-12-22T11:26:41.710Z", "@Version"=>"1", "tags"=>["multiline", "anonymous"], "type"=>"packet", "fingerprint"=>"e65fc68b9c85217fb92ff0be4c5dec189576b417", "Clear Text Message Payload"=>"%{User Data}"}, "Clear Text Message Payload"]}>>, :error=>#<Elasticsearch::Transport::Transport::Error: Cannot get new connection from pool.>, :level=>:warn}

I am wondering if the underlying code is thread safe ?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.