Question & Answer
Question
The Filter Analyzer reports the error: "rule includes an unsupported expression" when comparing two ObjectServer fields against each other and/or a field against GetDate within an EventReader Filter
Cause
This is a limitation in the functionality of the Filter Analyzer in Impact and can produce the log file message:
WARN [EventFilter] Could not consolidate filters. Please check if the filter expressions are valid. java.util.concurrent.ExecutionException
Answer
In the EventReader properties file:
$NCHOME/impact/etc/[ImpactServerName]_[EventReaderName].props
where [ImpactServerName] is the name of the ImpactServer (NCI by default) and [EventReaderName] is the lower-case name of the EventReader (for example: omnibuseventreader). Add the property:
impact.[EventReaderName].consolidatefilters=false
where, again, [EventReaderName] is the lower-case name of the EventReader (for example: omnibuseventreader).
Once this property has been added to the file an ImpactServer restart is required to enable it.
In a Clustered environment one would have to stop the Secondary ImpactServer(s) first, then stop and restart the Primary ImpactServer and then restart the Secondary ImpactServer(s) to ensure that the property is not overwritten and is distributed to each ImpactServer in the Cluster.
Please note that this issue relates to the use of the Filter Analyzer and does not impinge upon the EventReader ability to parse the Filter.
If you are unable to see the Filter being applied in the outgoing SQL for the EventReader please read the TechNote "EventReader Filters not applied to SQL select statement" [link below].
Related Information
Was this topic helpful?
Document Information
Modified date:
17 June 2018
UID
swg21675858