Ranges are used with number properties. Range configurations accepts inclusive/exclusive boundaries and decimal numbers.

For example: for this range [0;20.5[ , the following string will pass 0 , but not this one 20.5. In this example a codegrp property is to be added to events with a group code property.

Example configuration file:

<?xml version="1.0" encoding="UTF-8"?>
<property-tagging-filter-config
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.watch4net.com/APG/Filter/PropertyTaggingFilter
property-tagging-filter-config.xsd"
xmlns="http://www.watch4net.com/APG/Filter/PropertyTaggingFilter">
<refresh unit="minutes">20</refresh>
<files>
<text-file path="conf/input.data">
<field-separator>,</field-separator>
<default-symbol>***</default-symbol>
<key-properties>
<key-property delete-after-use="false" string-type="range">code</key-property>
</key-properties>
<new-properties>
<new-property>codegrp</new-property>
</new-properties>
</text-file>
</files>
</property-tagging-filter-config>

Example input file:

[0;100[, gold
[100;199], silver
]199;300[,bronze
Using the example and processing the following events: