{"action":"created","issue":{"url":"https://api.github.com/repos/elastic/logstash/issues/6462","repository_url":"https://api.github.com/repos/elastic/logstash","labels_url":"https://api.github.com/repos/elastic/logstash/issues/6462/labels{/name}","comments_url":"https://api.github.com/repos/elastic/logstash/issues/6462/comments","events_url":"https://api.github.com/repos/elastic/logstash/issues/6462/events","html_url":"https://github.com/elastic/logstash/issues/6462","id":197617303,"number":6462,"title":"Monitoring:  Add hosts info to pipeline output stats","user":{"login":"ppf2","id":7216393,"avatar_url":"https://avatars.githubusercontent.com/u/7216393?v=3","gravatar_id":"","url":"https://api.github.com/users/ppf2","html_url":"https://github.com/ppf2","followers_url":"https://api.github.com/users/ppf2/followers","following_url":"https://api.github.com/users/ppf2/following{/other_user}","gists_url":"https://api.github.com/users/ppf2/gists{/gist_id}","starred_url":"https://api.github.com/users/ppf2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ppf2/subscriptions","organizations_url":"https://api.github.com/users/ppf2/orgs","repos_url":"https://api.github.com/users/ppf2/repos","events_url":"https://api.github.com/users/ppf2/events{/privacy}","received_events_url":"https://api.github.com/users/ppf2/received_events","type":"User","site_admin":false},"labels":[{"id":90997545,"url":"https://api.github.com/repos/elastic/logstash/labels/enhancement","name":"enhancement","color":"009800","default":true},{"id":258254839,"url":"https://api.github.com/repos/elastic/logstash/labels/monitoring","name":"monitoring","color":"c7def8","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-12-26T20:20:04Z","updated_at":"2016-12-26T20:36:49Z","closed_at":null,"body":"When there are multiple instances of the same output plugin in the pipeline (eg. elasticsearch), the monitoring stats use an internal id to differentiate between them, which is not intuitive to the end user.  It will be nice if the outputs section will include the hosts array so it's easy to tell them apart.\r\n\r\n```\r\n      \"outputs\" : [ {\r\n        \"id\" : \"eaf58b94f952bc86193f0806aa7505382c0175c2-3\",\r\n        \"events\" : {\r\n          \"in\" : 33215,\r\n          \"out\" : 32590\r\n        },\r\n        \"name\" : \"elasticsearch\"\r\n      }, {\r\n        \"id\" : \"eaf58b94f952bc86193f0806aa7505382c0175c2-2\",\r\n        \"events\" : {\r\n          \"in\" : 33590,\r\n          \"out\" : 33215\r\n        },\r\n        \"name\" : \"elasticsearch\"\r\n      } ]\r\n    }\r\n```\r\n\r\nAlternatively, have the output id -> hosts mapping as part of the nodes info api if we don't think the stats api is the right place for this.  Or provide a common option that can be used across plugins for users to label plugins and display that label as part of the stats output, etc.."},"comment":{"url":"https://api.github.com/repos/elastic/logstash/issues/comments/269240254","html_url":"https://github.com/elastic/logstash/issues/6462#issuecomment-269240254","issue_url":"https://api.github.com/repos/elastic/logstash/issues/6462","id":269240254,"user":{"login":"ppf2","id":7216393,"avatar_url":"https://avatars.githubusercontent.com/u/7216393?v=3","gravatar_id":"","url":"https://api.github.com/users/ppf2","html_url":"https://github.com/ppf2","followers_url":"https://api.github.com/users/ppf2/followers","following_url":"https://api.github.com/users/ppf2/following{/other_user}","gists_url":"https://api.github.com/users/ppf2/gists{/gist_id}","starred_url":"https://api.github.com/users/ppf2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ppf2/subscriptions","organizations_url":"https://api.github.com/users/ppf2/orgs","repos_url":"https://api.github.com/users/ppf2/repos","events_url":"https://api.github.com/users/ppf2/events{/privacy}","received_events_url":"https://api.github.com/users/ppf2/received_events","type":"User","site_admin":false},"created_at":"2016-12-26T20:36:49Z","updated_at":"2016-12-26T20:36:49Z","body":"@suyograo Nice!  Can we document this \"id\" setting somewhere?  eg. as part of the plugins documentation as \"common options\" (either at the top level and/or at the different type level, eg. input/filter/output), and in the monitoring section?"}}
{"actor":{"display_login":"ppf2"}}