...
Info |
---|
Any fields you identify in the logs, or response data, can be excluded. Just include the field-name exactly as it appears in the logs or REST interface, as another value in the DataProcessorConfig.xml file. |
Example Configuration Files are located in ./config/meta
Include and Exclude Datatypes and Categories
Code Block | ||||
---|---|---|---|---|
| ||||
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:context="http://www.springframework.org/schema/context"
xmlns:util="http://www.springframework.org/schema/util"
xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
http://www.springframework.org/schema/context
http://www.springframework.org/schema/context/spring-context-3.0.xsd">
<bean id="dataProcessor" class="com.qm.lamaxu.processing.ConfigurableLoggingDataProcessor">
<property name="dataLoggingFormat"><value>JSON</value></property>
<property name="generateTestError"><value>false</value></property>
<!-- The list of data types or categories to include -->
<property name="inclusions">
<set>
<value>CHANNEL</value>
<value>CHANNEL_STATUS</value>
<value>QUEUE</value>
<value>SUBSCRIPTION_STATUS</value>
<value>STATISTICS</value>
<value>ACCOUNTING</value>
</set>
</property>
<property name="configurations">
<set>
<!-- Only include some QUEUE data type attributes -->
<bean id="queueAttributeConfig" class="com.qm.lamaxu.domain.AttributeConfiguration">
<constructor-arg><value>QUEUE</value></constructor-arg>
<!-- The set of attributes to include. -->
<constructor-arg>
<set>
<value>GET</value>
<value>PUT</value>
<value>MQIA_CURRENT_Q_DEPTH</value>
</set>
</constructor-arg>
<constructor-arg><value>INCLUDE</value></constructor-arg>
</bean>
<!-- For all DATA, exclude some attributes. -->
<bean id="queueHandleAttributeConfig" class="com.qm.lamaxu.domain.AttributeConfiguration">
<constructor-arg><value>ALL</value></constructor-arg>
<!-- The set of attributes to exclude. -->
<constructor-arg>
<set>
<value>MQBACF_Q_MGR_UOW_ID</value>
<value>MQBACF_EXTERNAL_UOW_ID</value>
<value>MQBACF_CONNECTION_ID</value>
</set>
</constructor-arg>
<constructor-arg><value>EXCLUDE</value></constructor-arg>
</bean>
</set>
</property>
</bean>
</beans> |
Default Property Exclusion List
...