{"action":"opened","issue":{"url":"https://api.github.com/repos/pcfens/puppet-filebeat/issues/38","repository_url":"https://api.github.com/repos/pcfens/puppet-filebeat","labels_url":"https://api.github.com/repos/pcfens/puppet-filebeat/issues/38/labels{/name}","comments_url":"https://api.github.com/repos/pcfens/puppet-filebeat/issues/38/comments","events_url":"https://api.github.com/repos/pcfens/puppet-filebeat/issues/38/events","html_url":"https://github.com/pcfens/puppet-filebeat/issues/38","id":170441143,"number":38,"title":"Need to fix some params as Integer in Redis output","user":{"login":"Metrax","id":1061866,"avatar_url":"https://avatars.githubusercontent.com/u/1061866?v=3","gravatar_id":"","url":"https://api.github.com/users/Metrax","html_url":"https://github.com/Metrax","followers_url":"https://api.github.com/users/Metrax/followers","following_url":"https://api.github.com/users/Metrax/following{/other_user}","gists_url":"https://api.github.com/users/Metrax/gists{/gist_id}","starred_url":"https://api.github.com/users/Metrax/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Metrax/subscriptions","organizations_url":"https://api.github.com/users/Metrax/orgs","repos_url":"https://api.github.com/users/Metrax/repos","events_url":"https://api.github.com/users/Metrax/events{/privacy}","received_events_url":"https://api.github.com/users/Metrax/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-08-10T15:07:49Z","updated_at":"2016-08-10T15:07:49Z","closed_at":null,"body":"Please add these lines to the template:\r\n\r\n> <%- if @filebeat_config['output']['redis']['db'] -%>\r\n<%- @filebeat_config['output']['redis']['db'] = Integer(@filebeat_config['output']['redis']['db']) -%>\r\n<%- end -%>\r\n<%- if @filebeat_config['output']['redis']['db_topology'] -%>\r\n<%- @filebeat_config['output']['redis']['db_topology'] = Integer(@filebeat_config['output']['redis']['db_topology']) -%>\r\n<%- end -%>\r\n<%- if @filebeat_config['output']['redis']['timeout'] -%>\r\n<%- @filebeat_config['output']['redis']['timeout'] = Integer(@filebeat_config['output']['redis']['timeout']) -%>\r\n<%- end -%>\r\n<%- if @filebeat_config['output']['redis']['reconnect_interval'] -%>\r\n<%- @filebeat_config['output']['redis']['reconnect_interval'] = Integer(@filebeat_config['output']['redis']['reconnect_interval']) -%>\r\n<%- end -%>\r\n\r\n\r\nElse filebeat cannot start:\r\n\r\n> Aug 10 16:52:04 robert2 filebeat[44273]: Loading config file error: YAML config parsing failed on /etc/filebeat/filebeat.yml: yaml: unmarshal errors:\r\nAug 10 16:52:04 robert2 filebeat[44273]: line 15: cannot unmarshal !!str `0` into int\r\nAug 10 16:52:04 robert2 filebeat[44273]: line 16: cannot unmarshal !!str `1` into int\r\nAug 10 16:52:04 robert2 filebeat[44273]: line 17: cannot unmarshal !!str `5` into int\r\nAug 10 16:52:04 robert2 filebeat[44273]: line 18: cannot unmarshal !!str `1` into int. Exiting.\r\n"}}
{"actor":{"display_login":"Metrax"}}