{"action":"created","issue":{"url":"https://api.github.com/repos/Haufe-Lexware/wicked.haufe.io/issues/12","repository_url":"https://api.github.com/repos/Haufe-Lexware/wicked.haufe.io","labels_url":"https://api.github.com/repos/Haufe-Lexware/wicked.haufe.io/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/Haufe-Lexware/wicked.haufe.io/issues/12/comments","events_url":"https://api.github.com/repos/Haufe-Lexware/wicked.haufe.io/issues/12/events","html_url":"https://github.com/Haufe-Lexware/wicked.haufe.io/issues/12","id":180032977,"number":12,"title":"How do I set up Fluentd, ElasticSearch and Kibana for use with wicked?","user":{"login":"TESSaranya","id":22317479,"avatar_url":"https://avatars.githubusercontent.com/u/22317479?v=3","gravatar_id":"","url":"https://api.github.com/users/TESSaranya","html_url":"https://github.com/TESSaranya","followers_url":"https://api.github.com/users/TESSaranya/followers","following_url":"https://api.github.com/users/TESSaranya/following{/other_user}","gists_url":"https://api.github.com/users/TESSaranya/gists{/gist_id}","starred_url":"https://api.github.com/users/TESSaranya/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TESSaranya/subscriptions","organizations_url":"https://api.github.com/users/TESSaranya/orgs","repos_url":"https://api.github.com/users/TESSaranya/repos","events_url":"https://api.github.com/users/TESSaranya/events{/privacy}","received_events_url":"https://api.github.com/users/TESSaranya/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Haufe-Lexware/wicked.haufe.io/labels/documentation","name":"documentation","color":"d4c5f9"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2016-09-29T12:17:57Z","updated_at":"2016-09-29T14:00:24Z","closed_at":null,"body":"I am unable to get fluentd work with kong? Any help\r\n"},"comment":{"url":"https://api.github.com/repos/Haufe-Lexware/wicked.haufe.io/issues/comments/250474176","html_url":"https://github.com/Haufe-Lexware/wicked.haufe.io/issues/12#issuecomment-250474176","issue_url":"https://api.github.com/repos/Haufe-Lexware/wicked.haufe.io/issues/12","id":250474176,"user":{"login":"DonMartin76","id":7326883,"avatar_url":"https://avatars.githubusercontent.com/u/7326883?v=3","gravatar_id":"","url":"https://api.github.com/users/DonMartin76","html_url":"https://github.com/DonMartin76","followers_url":"https://api.github.com/users/DonMartin76/followers","following_url":"https://api.github.com/users/DonMartin76/following{/other_user}","gists_url":"https://api.github.com/users/DonMartin76/gists{/gist_id}","starred_url":"https://api.github.com/users/DonMartin76/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DonMartin76/subscriptions","organizations_url":"https://api.github.com/users/DonMartin76/orgs","repos_url":"https://api.github.com/users/DonMartin76/repos","events_url":"https://api.github.com/users/DonMartin76/events{/privacy}","received_events_url":"https://api.github.com/users/DonMartin76/received_events","type":"User","site_admin":false},"created_at":"2016-09-29T14:00:24Z","updated_at":"2016-09-29T14:00:24Z","body":"I haven't done this yet for wicked, as we are internally using our own GreyLog logging instance, so that I haven't had the need to do this yet. It is definitely on my todo list to write some documentation on how to do this, but I can give you some hints what has to be done now.\r\n\r\n* There are (base) docker images for all three components, so you can combine them into their own `docker-compose.yml` file; \r\n* You will probably need to create a suitable configuration for fluentd, but simply forwarding to elasticsearch should work for starters, as the log format of http-log is JSON\r\n* I would use a separate deployment for this, possibly to a different docker host\r\n* Configure your APIs to use the `http-log` plugin and insert the end point your fluentd instance listens to as the receiving end\r\n\r\nA sample (NOT suited for production) can be found in one of our github repositories:\r\nhttps://github.com/Haufe-Lexware/docker-templates/tree/master/logaggregation\r\n\r\nThings to get straight:\r\n* You will not want to expose your logging port to the public (if possible); if you have to, secure it via SSL and possibly Basic Auth\r\n* You should also secure the Kibana application in a suitable way, otherwise it'd be available to the public, which is most probably not desired."}}
{"actor":{"display_login":"DonMartin76"}}