微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

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

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

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 举报,一经查实,本站将立刻删除。