You may try to set the suppression expression of parameter1 to achieve your goal.
In my testing, we use a rule (log file alert) to monitor the log file content.
Setting as:
Directory : c:\temp
Pattern: temp.txt
Expressions : Params/Param1 contains error
suppression expression: Parameter 1
As a result, the error count will increase by 1 when same error message occur in temp.txt file in same machine.
Roger