{"action":"created","issue":{"url":"https://api.github.com/repos/magnusbaeck/logstash-filter-verifier/issues/5","repository_url":"https://api.github.com/repos/magnusbaeck/logstash-filter-verifier","labels_url":"https://api.github.com/repos/magnusbaeck/logstash-filter-verifier/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/magnusbaeck/logstash-filter-verifier/issues/5/comments","events_url":"https://api.github.com/repos/magnusbaeck/logstash-filter-verifier/issues/5/events","html_url":"https://github.com/magnusbaeck/logstash-filter-verifier/issues/5","id":148621638,"number":5,"title":"metadata fields ","user":{"login":"halleys","id":11573733,"avatar_url":"https://avatars.githubusercontent.com/u/11573733?v=3","gravatar_id":"","url":"https://api.github.com/users/halleys","html_url":"https://github.com/halleys","followers_url":"https://api.github.com/users/halleys/followers","following_url":"https://api.github.com/users/halleys/following{/other_user}","gists_url":"https://api.github.com/users/halleys/gists{/gist_id}","starred_url":"https://api.github.com/users/halleys/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/halleys/subscriptions","organizations_url":"https://api.github.com/users/halleys/orgs","repos_url":"https://api.github.com/users/halleys/repos","events_url":"https://api.github.com/users/halleys/events{/privacy}","received_events_url":"https://api.github.com/users/halleys/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/magnusbaeck/logstash-filter-verifier/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-04-15T10:21:57Z","updated_at":"2016-04-17T19:01:04Z","closed_at":null,"body":"Hi,\r\n\r\nI have a quick question! Can I test metadata fields as well?\r\nIn our use case metadata fields are used to determine an index name. \r\n\r\nMany thanks!\r\nYoungmi."},"comment":{"url":"https://api.github.com/repos/magnusbaeck/logstash-filter-verifier/issues/comments/211083923","html_url":"https://github.com/magnusbaeck/logstash-filter-verifier/issues/5#issuecomment-211083923","issue_url":"https://api.github.com/repos/magnusbaeck/logstash-filter-verifier/issues/5","id":211083923,"user":{"login":"magnusbaeck","id":9032797,"avatar_url":"https://avatars.githubusercontent.com/u/9032797?v=3","gravatar_id":"","url":"https://api.github.com/users/magnusbaeck","html_url":"https://github.com/magnusbaeck","followers_url":"https://api.github.com/users/magnusbaeck/followers","following_url":"https://api.github.com/users/magnusbaeck/following{/other_user}","gists_url":"https://api.github.com/users/magnusbaeck/gists{/gist_id}","starred_url":"https://api.github.com/users/magnusbaeck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/magnusbaeck/subscriptions","organizations_url":"https://api.github.com/users/magnusbaeck/orgs","repos_url":"https://api.github.com/users/magnusbaeck/repos","events_url":"https://api.github.com/users/magnusbaeck/events{/privacy}","received_events_url":"https://api.github.com/users/magnusbaeck/received_events","type":"User","site_admin":false},"created_at":"2016-04-17T19:01:04Z","updated_at":"2016-04-17T19:01:04Z","body":"I'm afraid this isn't possible at the moment since Logstash's json_lines codec can't be configured to include the metadata fields in the serialized JSON string. I've filed https://github.com/logstash-plugins/logstash-codec-json_lines/issues/23 to get this fixed and was nearly done with the pull request when I hit a bump in the road (https://github.com/elastic/logstash/issues/5130) that I need to sort out first."}}