Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-67140

Incorrect JSON format

    XMLWordPrintable

Details

    Description

      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?

      Attachments

        Activity

          jasonperrone Jason Perrone created issue -

          People

            jbochenski Jakub Bochenski
            jasonperrone Jason Perrone
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: