Uploaded image for project: 'logstash'
  1. LOGSTASH-2240

fingerprint filter fails on Windows for SHA & MD5

    Details

      Description

      Using this filter causes an exception to be thrown for SHA* and MD5 (MURMUR3 worked)

      fingerprint {
      			source => "message"
      			method => "SHA256"
      		}
      

      The error is:

      NotImplementedError: (TypeError) can't convert nil into String
                hexdigest at org/jruby/ext/openssl/HMAC.java:99
        anonymize_openssl at J:/ELK/logstash/lib/logstash/filters/fingerprint.rb:93
                   filter at J:/ELK/logstash/lib/logstash/filters/fingerprint.rb:76
                     each at org/jruby/RubyArray.java:1613
                   filter at J:/ELK/logstash/lib/logstash/filters/fingerprint.rb:71
               initialize at (eval):87
                     call at org/jruby/RubyProc.java:271
                   filter at J:/ELK/logstash/lib/logstash/pipeline.rb:262
             filterworker at J:/ELK/logstash/lib/logstash/pipeline.rb:203
            start_filters at J:/ELK/logstash/lib/logstash/pipeline.rb:143
      

        Gliffy Diagrams

          Attachments

            Issue links

              Activity

                People

                • Assignee:
                  Logstash Developers (Inactive)
                  Reporter:
                  Brady Vidovic
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  4 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: