在Mulesoft Anypoint Monitoring
,我希望我可以使用键上的值在特定环境中过滤logs
所有内容。apps
CONNECTIVITY
Error type
在那里,我有一些日志,其中包含如下消息:
********************************************************************************
Message : HTTP GET on resource 'https://HOST/customers' failed: Locally closed.
Element : customers-find-impl/processors/2 @ SOME-p-api-v1:customers-impl.xml:17 (Request)
Element DSL : <http:request method="GET" doc:name="Request" doc:id="beexxx44b-88xx3-4xxxf-88cf-220773xxxxx4" config-ref="OTHER-experience-api-config" sendBodyMode="ALWAYS" path="/customers" sendCorrelationId="ALWAYS" correlationId="#[vars.correlationId]">
<http:headers>#[{
client_id: p('secure::app.clientId'),
client_secret: p('secure::app.clientSecret'),
'Content-Type': 'application/json'
}]</http:headers>
</http:request>
Error type : HTTP:CONNECTIVITY
FlowStack : at customers-find-impl(customers-find-impl/processors/2 @ SOME-p-api-v1:customers-impl.xml:17 (Request))
at order-inbound-listener-mq-flow(order-inbound-listener-mq-flow/processors/5 @ SOME-p-api-v1:SOME-process-listener.xml:107 (customers-find-impl))
(set debug level logging or '-Dmule.verbose.exceptions=true' for everything)
和
********************************************************************************
Message : HTTP POST on resource 'https://HOST/sap-s-api-v1/quote' failed: Remotely closed.
Element : sap-create-quotation-flow/processors/2 @ SOME-p-api-v1:sap/sap-quote-impl.xml:16 (Create quotation)
Element DSL : <sap-system-api:create-quote doc:name="Create quote " doc:id="b8axxxxf-73xa-4xx1-8b42-8558adfxxxd" config-ref="sap-system-api-config" client-id="${secure::app.clientId}" client-secret="${secure::app.clientSecret}" x-correlation-id="#[vars.correlationId]"></sap-system-api:create-quote>
Error type : SAP-SYSTEM-API:CONNECTIVITY
FlowStack : at sap-system-api:create-quote(create-quote/processors/0 @ SOME-p-api-v1:module-sap-system-api.xml:386)
at sap-create-quote-flow(sap-create-quote-flow/processors/2 @ SOME-p-api-v1:sap/sap-quote-impl.xml:16 (Create quote))
at quote-outbound-listener-mq-flow(quote-outbound-listener-mq-flow/processors/3 @ SOME-p-api-v1:SOME-process-listener.xml:80 (sap-create-quotation-flow))
(set debug level logging or '-Dmule.verbose.exceptions=true' for everything)
********************************************************************************
在哪里
Error type : HTTP:CONNECTIVITY
和
Error type : SAP-SYSTEM-API:CONNECTIVITY
我可以过滤并找到两者Error types
吗?像(.*):CONNECTIVITY
什么?