{"action":"created","issue":{"url":"https://api.github.com/repos/cloudfoundry/loggregator/issues/161","repository_url":"https://api.github.com/repos/cloudfoundry/loggregator","labels_url":"https://api.github.com/repos/cloudfoundry/loggregator/issues/161/labels{/name}","comments_url":"https://api.github.com/repos/cloudfoundry/loggregator/issues/161/comments","events_url":"https://api.github.com/repos/cloudfoundry/loggregator/issues/161/events","html_url":"https://github.com/cloudfoundry/loggregator/pull/161","id":182839490,"number":161,"title":"Use modern syntax to configure rsyslog targets and allow configure action parameters","user":{"login":"keymon","id":280032,"avatar_url":"https://avatars.githubusercontent.com/u/280032?v=3","gravatar_id":"","url":"https://api.github.com/users/keymon","html_url":"https://github.com/keymon","followers_url":"https://api.github.com/users/keymon/followers","following_url":"https://api.github.com/users/keymon/following{/other_user}","gists_url":"https://api.github.com/users/keymon/gists{/gist_id}","starred_url":"https://api.github.com/users/keymon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/keymon/subscriptions","organizations_url":"https://api.github.com/users/keymon/orgs","repos_url":"https://api.github.com/users/keymon/repos","events_url":"https://api.github.com/users/keymon/events{/privacy}","received_events_url":"https://api.github.com/users/keymon/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/cloudfoundry/loggregator/labels/unscheduled","name":"unscheduled","color":"D9D9D9"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-10-13T16:36:04Z","updated_at":"2016-10-13T16:36:06Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/cloudfoundry/loggregator/pulls/161","html_url":"https://github.com/cloudfoundry/loggregator/pull/161","diff_url":"https://github.com/cloudfoundry/loggregator/pull/161.diff","patch_url":"https://github.com/cloudfoundry/loggregator/pull/161.patch"},"body":"The syslog forwarder configuration for the omrepl and omfwd modules uses the old configuration syntax.\n\nWe want to update it to the new syntax for several reasons:\n\n - in order to be able to configure additional settings, like `timeout` for `omrepl`[3], we need to convert it to the new syntax.\n\n - We are experiencing a issue when the RELP syslog server is behind an AWS ELB loadbalancer in TCP mode with healthchecks. When all the backends are down in the ELB, it will open the TCP connection and    close it immediately. When that happens, rsyslog using omrelp with the old syntax does not exit when receiving a TERM signal.\n\n   This causes the `service rsyslogd restart` executed from metron_agent ctl take 30 seconds, and the job metron_agent is marked as bad by monit.\n\n - It makes sense to use the new syntax\n\nThen, we allow configure action parameters for rsyslog actions[1][2][3]\n\nThis would allow you to configure parameters like relp timeout, queue name, sizes, retries, etc. For example, it would make easier to configure forwarding to a rsyslog server behind a AWS ELB[4]\n\n[1] http://www.rsyslog.com/doc/v8-stable/configuration/actions.html#general-action-parameters\n[2] http://www.rsyslog.com/doc/v8-stable/configuration/modules/omfwd.html\n[3] http://www.rsyslog.com/doc/v8-stable/configuration/modules/omrelp.html\n[4] http://lists.adiscon.net/pipermail/rsyslog/2014-December/039270.html"},"comment":{"url":"https://api.github.com/repos/cloudfoundry/loggregator/issues/comments/253567380","html_url":"https://github.com/cloudfoundry/loggregator/pull/161#issuecomment-253567380","issue_url":"https://api.github.com/repos/cloudfoundry/loggregator/issues/161","id":253567380,"user":{"login":"cf-gitbot","id":5589368,"avatar_url":"https://avatars.githubusercontent.com/u/5589368?v=3","gravatar_id":"","url":"https://api.github.com/users/cf-gitbot","html_url":"https://github.com/cf-gitbot","followers_url":"https://api.github.com/users/cf-gitbot/followers","following_url":"https://api.github.com/users/cf-gitbot/following{/other_user}","gists_url":"https://api.github.com/users/cf-gitbot/gists{/gist_id}","starred_url":"https://api.github.com/users/cf-gitbot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cf-gitbot/subscriptions","organizations_url":"https://api.github.com/users/cf-gitbot/orgs","repos_url":"https://api.github.com/users/cf-gitbot/repos","events_url":"https://api.github.com/users/cf-gitbot/events{/privacy}","received_events_url":"https://api.github.com/users/cf-gitbot/received_events","type":"User","site_admin":false},"created_at":"2016-10-13T16:36:06Z","updated_at":"2016-10-13T16:36:06Z","body":"We have created an issue in Pivotal Tracker to manage this: \n\nhttps://www.pivotaltracker.com/story/show/132254685 \n\nThe labels on this github issue will be updated when the story is started."}}
{"actor":{"display_login":"cf-gitbot"}}