It is possible to use multiple input files with different key properties in the module. text-files tags are scanned in the order they appear in the configuration file.

New properties subgroup and group are to be created. Groups will contain subgroups. All events with device ending with d32 will create and set subgroup to d32 . All events with device ending with d33 will create and set subgroup to d33 . All events with device ending with g18 will create and set subgroup to g18. All events with other device values will create and set subgroup to x. All events with subgroup beginning with d will create and set group to d . All events with subgroup beginning with g will create and set group to g . All events with subgroup has x will create and set group to x.

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/input1.data">
<field-separator>,</field-separator>
<default-symbol>***</default-symbol>
<key-properties>
<key-property delete-after-use="false" string-type="sqlpattern">device</key-
property>
</key-properties>
<new-properties>
<new-property>subgroup</new-property>
</new-properties>
</text-file>
<text-file path="conf/input2.data">
<field-separator>;</field-separator>
<default-symbol>%</default-symbol>
<key-properties>
<key-property delete-after-use="false" string-type="sqlpattern">subgroup</key-
property>
</key-properties>
<new-properties>
<new-property>group</new-property>
</new-properties>
</text-file>
</files>
</property-tagging-filter-config>
Example input file 1.
%d32,d32
%d33,d33
%g18,g18
***, x
Example input file 2.
d%,d
g%,g
x,x
Using the example and processing the following events: