Incorrect JSON format

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Minor
    • Component/s: logstash-plugin
    • Environment:
      Jenkins 2.303.3. Logstash 7.7.0.

      About once a week, messages sent from this plugin to logstash get dropped into the dead letter queue with this error:

      object mapping for [host] tried to parse field [host] as object, but found
      �dhost�torg.jruby.RubyStringm10.193.119.13�dtags�x�org.logstash.ConvertedList��torg.jruby.RubyStringq_jsonparsefailure��torg.jruby.RubyStringn_rub

      This error typically means you are not properly quoting the JSON string. What's also strange is why does the plugin not always send the host variable?

            Assignee:
            Jakub Bochenski
            Reporter:
            Jason Perrone
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: