{"action":"created","issue":{"url":"https://api.github.com/repos/cargomedia/cm/issues/2291","repository_url":"https://api.github.com/repos/cargomedia/cm","labels_url":"https://api.github.com/repos/cargomedia/cm/issues/2291/labels{/name}","comments_url":"https://api.github.com/repos/cargomedia/cm/issues/2291/comments","events_url":"https://api.github.com/repos/cargomedia/cm/issues/2291/events","html_url":"https://github.com/cargomedia/cm/pull/2291","id":172408554,"number":2291,"title":"Use arrays in fluentd records.","user":{"login":"fvovan","id":2360687,"avatar_url":"https://avatars.githubusercontent.com/u/2360687?v=3","gravatar_id":"","url":"https://api.github.com/users/fvovan","html_url":"https://github.com/fvovan","followers_url":"https://api.github.com/users/fvovan/followers","following_url":"https://api.github.com/users/fvovan/following{/other_user}","gists_url":"https://api.github.com/users/fvovan/gists{/gist_id}","starred_url":"https://api.github.com/users/fvovan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fvovan/subscriptions","organizations_url":"https://api.github.com/users/fvovan/orgs","repos_url":"https://api.github.com/users/fvovan/repos","events_url":"https://api.github.com/users/fvovan/events{/privacy}","received_events_url":"https://api.github.com/users/fvovan/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/cargomedia/cm/labels/immediate","name":"immediate","color":"eb6420"},{"url":"https://api.github.com/repos/cargomedia/cm/labels/in%20progress","name":"in progress","color":"ededed"},{"url":"https://api.github.com/repos/cargomedia/cm/labels/ready","name":"ready","color":"ededed"}],"state":"open","locked":false,"assignee":{"login":"fvovan","id":2360687,"avatar_url":"https://avatars.githubusercontent.com/u/2360687?v=3","gravatar_id":"","url":"https://api.github.com/users/fvovan","html_url":"https://github.com/fvovan","followers_url":"https://api.github.com/users/fvovan/followers","following_url":"https://api.github.com/users/fvovan/following{/other_user}","gists_url":"https://api.github.com/users/fvovan/gists{/gist_id}","starred_url":"https://api.github.com/users/fvovan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fvovan/subscriptions","organizations_url":"https://api.github.com/users/fvovan/orgs","repos_url":"https://api.github.com/users/fvovan/repos","events_url":"https://api.github.com/users/fvovan/events{/privacy}","received_events_url":"https://api.github.com/users/fvovan/received_events","type":"User","site_admin":false},"assignees":[{"login":"fvovan","id":2360687,"avatar_url":"https://avatars.githubusercontent.com/u/2360687?v=3","gravatar_id":"","url":"https://api.github.com/users/fvovan","html_url":"https://github.com/fvovan","followers_url":"https://api.github.com/users/fvovan/followers","following_url":"https://api.github.com/users/fvovan/following{/other_user}","gists_url":"https://api.github.com/users/fvovan/gists{/gist_id}","starred_url":"https://api.github.com/users/fvovan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fvovan/subscriptions","organizations_url":"https://api.github.com/users/fvovan/orgs","repos_url":"https://api.github.com/users/fvovan/repos","events_url":"https://api.github.com/users/fvovan/events{/privacy}","received_events_url":"https://api.github.com/users/fvovan/received_events","type":"User","site_admin":false}],"milestone":null,"comments":11,"created_at":"2016-08-22T09:39:02Z","updated_at":"2016-08-29T11:41:26Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/cargomedia/cm/pulls/2291","html_url":"https://github.com/cargomedia/cm/pull/2291","diff_url":"https://github.com/cargomedia/cm/pull/2291.diff","patch_url":"https://github.com/cargomedia/cm/pull/2291.patch"},"body":"Via https://github.com/cargomedia/puppet-cargomedia/issues/1341\r\n\r\nTo reduce number of indexed keys (which is limited by loggly) we need to encode some of not important for searching purposes keys as arrays.\r\neg instead of \r\n\r\n```\r\n{\r\n  \"important_search_key\" : { \r\n    \"sub_key1\" : {},\r\n    \"sub_key2\" : {}\r\n  },\r\n  \"just_information_key\" : { // it's a map \r\n    \"not_needed_sub_key1\" : {},\r\n    \"not_needed_sub_key2\" : {}\r\n  }\r\n} \r\n```\r\nwe want \r\n\r\n```\r\n{\r\n  \"important_search_key\" : {\r\n    \"sub_key1\" : {},\r\n    \"sub_key2\" : {}\r\n  },\r\n  \"just_information_key\" : [ //here is an array\r\n    { \"id\" : \"not_needed_sub_key1\", \"value\" : {} },\r\n    { \"id\" : \"not_needed_sub_key2\", \"value\" : {} }\r\n  ]\r\n}\r\n``` \r\n\r\nLet's also drop `httpRequest.query.viewInfoList` completely from any logs!\r\n(it's a lot of data and was never used so far)"},"comment":{"url":"https://api.github.com/repos/cargomedia/cm/issues/comments/243101266","html_url":"https://github.com/cargomedia/cm/pull/2291#issuecomment-243101266","issue_url":"https://api.github.com/repos/cargomedia/cm/issues/2291","id":243101266,"user":{"login":"tomaszdurka","id":113303,"avatar_url":"https://avatars.githubusercontent.com/u/113303?v=3","gravatar_id":"","url":"https://api.github.com/users/tomaszdurka","html_url":"https://github.com/tomaszdurka","followers_url":"https://api.github.com/users/tomaszdurka/followers","following_url":"https://api.github.com/users/tomaszdurka/following{/other_user}","gists_url":"https://api.github.com/users/tomaszdurka/gists{/gist_id}","starred_url":"https://api.github.com/users/tomaszdurka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tomaszdurka/subscriptions","organizations_url":"https://api.github.com/users/tomaszdurka/orgs","repos_url":"https://api.github.com/users/tomaszdurka/repos","events_url":"https://api.github.com/users/tomaszdurka/events{/privacy}","received_events_url":"https://api.github.com/users/tomaszdurka/received_events","type":"User","site_admin":false},"created_at":"2016-08-29T11:41:26Z","updated_at":"2016-08-29T11:41:26Z","body":"confirmed!"}}
{"actor":{"display_login":"tomaszdurka"}}