To explain your three regexes:
rex field=host .(?<Farm>(\d{1}))
Match any character followed by only one digit. The {1} is unneeded in this particular example as just a \d would be the same.
rex field=host .(?<Farm>(\d{2}))
Match any character followed by 2 digits.
rex field=host .(?<Farm>(\d{1,2}))
Match any character followed by a minimum at least 1 digit and up to 2 digits.
@bmacias84 did a great job matching the entire string you have provided with the above regex. But yes, you can go to the 6th position in the string fairly easily. Consider the following simple regex:
.{5}\d+
It basically says, "lets match any 5 characters followed by one or more digits."
For the search syntax, that would be:
rex field=host ".{5}(?<Farm>\d+)"
... View more