# Element: ruleset

## Location

/[patterndb](../../../../../docs/axosyslog-core/chapter-parsers/chapter-patterndb/reference-parsers-pattern-databases/reference-patterndb-schemes/patterndb-scheme-patterndb/index.md)/_ruleset_

## Description

A container element to group log patterns for an application or program. A `<patterndb>` element may contain any number of `<ruleset>` elements.

## Attributes

  * _name_ : The name of the application. Note that the function of this attribute is to make the database more readable, syslog-ng uses the `<pattern>` element to identify the applications sending log messages.

  * _id_ : A unique ID of the application, for example, the md5 sum of the `name` attribute.




## Children

  * _patterns_

  * _rules_

  * _actions_

  * _tags_

  * _description_ : OPTIONAL — A description of the ruleset or the application.

  * _url_ : OPTIONAL — An URL referring to further information about the ruleset or the application.

  * _rule_urls_ : OPTIONAL — To list multiple URLs referring to further information about the ruleset or the application, enclose the `<url>` elements into an `<urls>` element.




## Example
```
       <ruleset name='su' id='480de478-d4a6-4a7f-bea4-0c0245d361e1'>
    
```

Last modified July 15, 2023: [Patterndb chapter formatting fixes (f7dfdaa0)](<https://github.com/axoflow/axosyslog-core-docs/commit/f7dfdaa0fa045e2ae66345dc5a1c70a179726476>)