{"action":"opened","issue":{"url":"https://api.github.com/repos/elastic/logstash/issues/3550","labels_url":"https://api.github.com/repos/elastic/logstash/issues/3550/labels{/name}","comments_url":"https://api.github.com/repos/elastic/logstash/issues/3550/comments","events_url":"https://api.github.com/repos/elastic/logstash/issues/3550/events","html_url":"https://github.com/elastic/logstash/issues/3550","id":92620500,"number":3550,"title":"failed to store sql query in message","user":{"login":"digitalkaoz","id":293591,"avatar_url":"https://avatars.githubusercontent.com/u/293591?v=3","gravatar_id":"","url":"https://api.github.com/users/digitalkaoz","html_url":"https://github.com/digitalkaoz","followers_url":"https://api.github.com/users/digitalkaoz/followers","following_url":"https://api.github.com/users/digitalkaoz/following{/other_user}","gists_url":"https://api.github.com/users/digitalkaoz/gists{/gist_id}","starred_url":"https://api.github.com/users/digitalkaoz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/digitalkaoz/subscriptions","organizations_url":"https://api.github.com/users/digitalkaoz/orgs","repos_url":"https://api.github.com/users/digitalkaoz/repos","events_url":"https://api.github.com/users/digitalkaoz/events{/privacy}","received_events_url":"https://api.github.com/users/digitalkaoz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-07-02T12:04:31Z","updated_at":"2015-07-02T12:04:31Z","closed_at":null,"body":"this message \r\n```json\r\n{\r\n   \"message\":\"SELECT t0.username AS username1, t0.username_canonical AS username_canonical2, t0.email AS email3, t0.email_canonical AS email_canonical4, t0.enabled AS enabled5, t0.salt AS salt6, t0.password AS password7, t0.last_login AS last_login8, t0.locked AS locked9, t0.expired AS expired10, t0.expires_at AS expires_at11, t0.confirmation_token AS confirmation_token12, t0.password_requested_at AS password_requested_at13, t0.roles AS roles14, t0.credentials_expired AS credentials_expired15, t0.credentials_expire_at AS credentials_expire_at16, t0.created_at AS created_at17, t0.updated_at AS updated_at18, t0.date_of_birth AS date_of_birth19, t0.firstname AS firstname20, t0.lastname AS lastname21, t0.website AS website22, t0.biography AS biography23, t0.gender AS gender24, t0.locale AS locale25, t0.timezone AS timezone26, t0.phone AS phone27, t0.facebook_uid AS facebook_uid28, t0.facebook_name AS facebook_name29, t0.facebook_data AS facebook_data30, t0.twitter_uid AS twitter_uid31, t0.twitter_name AS twitter_name32, t0.twitter_data AS twitter_data33, t0.gplus_uid AS gplus_uid34, t0.gplus_name AS gplus_name35, t0.gplus_data AS gplus_data36, t0.token AS token37, t0.two_step_code AS two_step_code38, t0.id AS id39 FROM fos_user_user t0 WHERE t0.id = ? LIMIT 1\",\r\n   \"context\":[\r\n      1\r\n   ],\r\n   \"level\":100,\r\n   \"level_name\":\"DEBUG\",\r\n   \"channel\":\"doctrine\",\r\n   \"datetime\":{\r\n      \"date\":\"2015-07-02 13:43:12.477295\",\r\n      \"timezone_type\":3,\r\n      \"timezone\":\"Europe/Berlin\"\r\n   },\r\n   \"extra\":[\r\n\r\n   ],\r\n   \"@version\":\"1\",\r\n   \"@timestamp\":\"2015-07-02T11:43:12.480Z\"\r\n}\r\n```\r\n`]}`\r\n\r\nthe failure was\r\n\r\n`org.elasticsearch.index.mapper.MapperParsingException: object mapping [context] trying to serialize a value with no field associated with it, current value [1]`\r\n\r\nsome other sql queries were persisted correctly, maybe those  without \"Sql Query Params (context)\", those created a falsy mapping, and now this one with parameters fails?"}}