IBM Support

Filter Analyzer and Filters comparing ObjectServer fields

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].

[{"Product":{"code":"SSSHYH","label":"Tivoli Netcool\/Impact"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"Netcool\/Impact","Platform":[{"code":"PF016","label":"Linux"},{"code":"PF027","label":"Solaris"},{"code":"PF033","label":"Windows"},{"code":"PF002","label":"AIX"},{"code":"PF010","label":"HP-UX"}],"Version":"6.1;6.1.1;7.1.0","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
17 June 2018

UID

swg21675858