This generate-by-prefix function generates a source with a specified value if the prefix of an existing source matches another value.
Name of the source to generate
Value to assign dst
Source against which to match
Value to compare to src
The following example sets the classification to Compass if the protocol prefix is HTTP:
Generate fn="generate-by-prefix" match="http" src="protocol" value="World Wide Web" dst="classification"