任意点监控:如何按错误类型过滤

问题描述

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

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)