{"action":"created","issue":{"url":"https://api.github.com/repos/rsyslog/rsyslog/issues/625","repository_url":"https://api.github.com/repos/rsyslog/rsyslog","labels_url":"https://api.github.com/repos/rsyslog/rsyslog/issues/625/labels{/name}","comments_url":"https://api.github.com/repos/rsyslog/rsyslog/issues/625/comments","events_url":"https://api.github.com/repos/rsyslog/rsyslog/issues/625/events","html_url":"https://github.com/rsyslog/rsyslog/issues/625","id":118803215,"number":625,"title":"Allow simple rule instead of rulebase file for mmnormalize","user":{"login":"hakman","id":2759402,"avatar_url":"https://avatars.githubusercontent.com/u/2759402?v=3","gravatar_id":"","url":"https://api.github.com/users/hakman","html_url":"https://github.com/hakman","followers_url":"https://api.github.com/users/hakman/followers","following_url":"https://api.github.com/users/hakman/following{/other_user}","gists_url":"https://api.github.com/users/hakman/gists{/gist_id}","starred_url":"https://api.github.com/users/hakman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hakman/subscriptions","organizations_url":"https://api.github.com/users/hakman/orgs","repos_url":"https://api.github.com/users/hakman/repos","events_url":"https://api.github.com/users/hakman/events{/privacy}","received_events_url":"https://api.github.com/users/hakman/received_events","type":"User","site_admin":false},"labels":[{"id":42065811,"url":"https://api.github.com/repos/rsyslog/rsyslog/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/rsyslog/rsyslog/milestones/15","html_url":"https://github.com/rsyslog/rsyslog/milestones/v8.24","labels_url":"https://api.github.com/repos/rsyslog/rsyslog/milestones/15/labels","id":1957706,"number":15,"title":"v8.24","description":"","creator":{"login":"rgerhards","id":1482123,"avatar_url":"https://avatars.githubusercontent.com/u/1482123?v=3","gravatar_id":"","url":"https://api.github.com/users/rgerhards","html_url":"https://github.com/rgerhards","followers_url":"https://api.github.com/users/rgerhards/followers","following_url":"https://api.github.com/users/rgerhards/following{/other_user}","gists_url":"https://api.github.com/users/rgerhards/gists{/gist_id}","starred_url":"https://api.github.com/users/rgerhards/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rgerhards/subscriptions","organizations_url":"https://api.github.com/users/rgerhards/orgs","repos_url":"https://api.github.com/users/rgerhards/repos","events_url":"https://api.github.com/users/rgerhards/events{/privacy}","received_events_url":"https://api.github.com/users/rgerhards/received_events","type":"User","site_admin":false},"open_issues":18,"closed_issues":0,"state":"open","created_at":"2016-08-23T11:10:28Z","updated_at":"2016-11-22T17:36:51Z","due_on":"2017-01-06T00:00:00Z","closed_at":null},"comments":6,"created_at":"2015-11-25T10:14:41Z","updated_at":"2016-11-23T11:20:04Z","closed_at":null,"body":"RuleBase files make config files less readable.\nWhen providing examples to customers or when reviewing configs, it would make things easier to have a single config file that can also inculde the rule as a string (instead of a file name and a second config file).\n\nIn most cases, string containing a simple rule would be enough.\nIf possible, to have more rules in some sort of array, that would work nicely also.\n"},"comment":{"url":"https://api.github.com/repos/rsyslog/rsyslog/issues/comments/262488530","html_url":"https://github.com/rsyslog/rsyslog/issues/625#issuecomment-262488530","issue_url":"https://api.github.com/repos/rsyslog/rsyslog/issues/625","id":262488530,"user":{"login":"mostolog","id":19854319,"avatar_url":"https://avatars.githubusercontent.com/u/19854319?v=3","gravatar_id":"","url":"https://api.github.com/users/mostolog","html_url":"https://github.com/mostolog","followers_url":"https://api.github.com/users/mostolog/followers","following_url":"https://api.github.com/users/mostolog/following{/other_user}","gists_url":"https://api.github.com/users/mostolog/gists{/gist_id}","starred_url":"https://api.github.com/users/mostolog/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mostolog/subscriptions","organizations_url":"https://api.github.com/users/mostolog/orgs","repos_url":"https://api.github.com/users/mostolog/repos","events_url":"https://api.github.com/users/mostolog/events{/privacy}","received_events_url":"https://api.github.com/users/mostolog/received_events","type":"User","site_admin":false},"created_at":"2016-11-23T11:20:03Z","updated_at":"2016-11-23T11:20:03Z","body":"Thanks a lot @davidelang @rgerhards for your comments, which occasionally led me to discover rsyslog _hidden gems_ :stuck_out_tongue: \r\n\r\n>We even have an include option so that you can have your rules as separate files for ease of administering them, but then have a single ruleset as far as rsyslog is concerned.\r\n\r\nIn our scenario we have MANY grok/regex patterns, which made me think how to specify multiple files. While testing, I was \"bored\" to have separated files and doing copy-paste. On the other hand, above quoted paragraph is fair enough to do what we need. I'll keep different .rb files and include them in our config.\r\nIs the include documented somewhere? Isn't this a rsyslog feature but a liblognorm's ?\r\n"}}
{"actor":{"display_login":"mostolog"}}