{"action":"created","issue":{"url":"https://api.github.com/repos/logstash-plugins/logstash-codec-cloudtrail/issues/26","repository_url":"https://api.github.com/repos/logstash-plugins/logstash-codec-cloudtrail","labels_url":"https://api.github.com/repos/logstash-plugins/logstash-codec-cloudtrail/issues/26/labels{/name}","comments_url":"https://api.github.com/repos/logstash-plugins/logstash-codec-cloudtrail/issues/26/comments","events_url":"https://api.github.com/repos/logstash-plugins/logstash-codec-cloudtrail/issues/26/events","html_url":"https://github.com/logstash-plugins/logstash-codec-cloudtrail/issues/26","id":373226071,"node_id":"MDU6SXNzdWUzNzMyMjYwNzE=","number":26,"title":"failed to parse field as object, but found a concrete value","user":{"login":"cdenneen","id":720097,"node_id":"MDQ6VXNlcjcyMDA5Nw==","avatar_url":"https://avatars0.githubusercontent.com/u/720097?v=4","gravatar_id":"","url":"https://api.github.com/users/cdenneen","html_url":"https://github.com/cdenneen","followers_url":"https://api.github.com/users/cdenneen/followers","following_url":"https://api.github.com/users/cdenneen/following{/other_user}","gists_url":"https://api.github.com/users/cdenneen/gists{/gist_id}","starred_url":"https://api.github.com/users/cdenneen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cdenneen/subscriptions","organizations_url":"https://api.github.com/users/cdenneen/orgs","repos_url":"https://api.github.com/users/cdenneen/repos","events_url":"https://api.github.com/users/cdenneen/events{/privacy}","received_events_url":"https://api.github.com/users/cdenneen/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-10-23T22:16:32Z","updated_at":"2018-10-26T17:11:56Z","closed_at":null,"author_association":"NONE","body":"Logstash 6.4.2\r\nlogstash-codec-cloudtrail (3.0.5) still has same problem (#15).\r\n\r\n`responseElements` and `requestParameters` (and their children like `requestParameters.iamInstanceProfile`)\r\n```\r\n[2018-10-23T20:26:49,297][WARN ][logstash.outputs.elasticsearch] Could not index event to Elasticsearch. {:status=>400, :action=>[\"index\", {:_id=>nil, :_index=>\"logstash-cloudtrail-write\", :_type=>\"_doc\", :_routing=>nil}, #<LogStash::Event:0x2b804bc4>], :response=>{\"index\"=>{\"_index\"=>\"logstash-cloudtrail-000004\", \"_type\"=>\"_doc\", \"_id\"=>\"H-2bomYBuhFkxAoaxCUs\", \"status\"=>400, \"error\"=>{\"type\"=>\"mapper_parsing_exception\", \"reason\"=>\"object mapping for [responseElements.role] tried to parse field [role] as object, but found a concrete value\"}}}}\r\n[2018-10-23T20:28:28,793][WARN ][logstash.outputs.elasticsearch] Could not index event to Elasticsearch. {:status=>400, :action=>[\"index\", {:_id=>nil, :_index=>\"logstash-cloudtrail-write\", :_type=>\"_doc\", :_routing=>nil}, #<LogStash::Event:0x4cc6643b>], :response=>{\"index\"=>{\"_index\"=>\"logstash-cloudtrail-000004\", \"_type\"=>\"_doc\", \"_id\"=>\"gO6domYBuhFkxAoaSECE\", \"status\"=>400, \"error\"=>{\"type\"=>\"mapper_parsing_exception\", \"reason\"=>\"object mapping for [requestParameters.iamInstanceProfile] tried to parse field [iamInstanceProfile] as object, but found a concrete value\"}}}}\r\n```"},"comment":{"url":"https://api.github.com/repos/logstash-plugins/logstash-codec-cloudtrail/issues/comments/433479030","html_url":"https://github.com/logstash-plugins/logstash-codec-cloudtrail/issues/26#issuecomment-433479030","issue_url":"https://api.github.com/repos/logstash-plugins/logstash-codec-cloudtrail/issues/26","id":433479030,"node_id":"MDEyOklzc3VlQ29tbWVudDQzMzQ3OTAzMA==","user":{"login":"cdenneen","id":720097,"node_id":"MDQ6VXNlcjcyMDA5Nw==","avatar_url":"https://avatars0.githubusercontent.com/u/720097?v=4","gravatar_id":"","url":"https://api.github.com/users/cdenneen","html_url":"https://github.com/cdenneen","followers_url":"https://api.github.com/users/cdenneen/followers","following_url":"https://api.github.com/users/cdenneen/following{/other_user}","gists_url":"https://api.github.com/users/cdenneen/gists{/gist_id}","starred_url":"https://api.github.com/users/cdenneen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cdenneen/subscriptions","organizations_url":"https://api.github.com/users/cdenneen/orgs","repos_url":"https://api.github.com/users/cdenneen/repos","events_url":"https://api.github.com/users/cdenneen/events{/privacy}","received_events_url":"https://api.github.com/users/cdenneen/received_events","type":"User","site_admin":false},"created_at":"2018-10-26T17:11:56Z","updated_at":"2018-10-26T17:11:56Z","author_association":"NONE","body":"@jsvd @robbavey Looks like we've had issues with these fields being parsed and mapped properly for > 3 years now. Can we have someone look into way to fix this? \r\nI'll even POST a custom template/mapping to fix these issues if that's the only solution."}}
{"actor":{"display_login":"cdenneen"}}