我正在使用WSO2 APIM 2.6.0版本,并尝试根据链接[https://docs.wso2.com/display/AM260/Configuring+APIM+Analytics#MSSQL-AM_USAGE_UPLOADED_FILES]
与WSO2 APIM Analytics Server集成我们已经有了WSO2 APIM 2.5.0和Analytics(分析)的工作应用程序,并且已经按原样生成了数据。但是,由于APIM 2.5.0(使用RestAPIs添加证书)中的技术障碍,我试图将APIM从2.5.0迁移到2.6.0。
APIM已按照文档链接[https://docs.wso2.com/display/AM260/Upgrading+from+the+Previous+Release#code]中的说明进行迁移 但是当我尝试与Analytics(分析)集成时,它会抛出如下所示的恒定错误
[2019-09-09 10:03:17,367] INFO
{org.wso2.carbon.databridge.core.DataBridge} - user admin connected
[2019-09-09 10:03:17,368] ERROR
{org.wso2.carbon.databridge.core.internal.queue.QueueWorker} - Dropping
wrongly formatted event sent
org.wso2.carbon.databridge.core.exception.EventConversionException: Error
when converting loganalyzer:1.0.0 of event bundle with events 1
at
org.wso2.carbon.databridge.receiver.thrift.converter.ThriftEventConverter.createEventList(ThriftEventConverter.java:188)
at org.wso2.carbon.databridge.receiver.thrift.converter.ThriftEventConverter.toEventList(ThriftEventConverter.java:90)
at org.wso2.carbon.databridge.core.internal.queue.QueueWorker.run(QueueWorker.java:72)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
Caused by: org.wso2.carbon.databridge.core.exception.EventConversionException: No StreamDefinition for streamId loganalyzer:1.0.0 present in cache
at org.wso2.carbon.databridge.receiver.thrift.converter.ThriftEventConverter.createEventList(ThriftEventConverter.java:171)
... 7 more
[2019-09-09 10:14:02,374] INFO {org.wso2.extension.siddhi.io.mgwfile.task.MGWFileCleanUpTask} - Uploaded API Usage data in the db will be cleaned up to : 2019-09-04 10:14:02.374
[2019-09-09 10:18:17,343] ERROR {org.wso2.carbon.databridge.core.internal.queue.QueueWorker} - Dropping wrongly formatted event sent org.wso2.carbon.databridge.core.exception.EventConversionException: Error when converting loganalyzer:1.0.0 of event bundle with events 1
at org.wso2.carbon.databridge.receiver.thrift.converter.ThriftEventConverter.createEventList(ThriftEventConverter.java:188)
at org.wso2.carbon.databridge.receiver.thrift.converter.ThriftEventConverter.toEventList(ThriftEventConverter.java:90)
at org.wso2.carbon.databridge.core.internal.queue.QueueWorker.run(QueueWorker.java:72)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
Caused by: org.wso2.carbon.databridge.core.exception.EventConversionException: No StreamDefinition for streamId loganalyzer:1.0.0 present in cache
at org.wso2.carbon.databridge.receiver.thrift.converter.ThriftEventConverter.createEventList(ThriftEventConverter.java:171)
... 7 more
有人可以让我知道APIM 2.6.0与Google Analytics(分析)之间是否存在兼容性,因为在迁移过程中,我在迁移APIM的Analytics(分析)部分时已读过-在注释部分[https://docs.wso2.com/display/AM260/Upgrading+from+the+Previous+Release#code]
步骤3.1-请注意,在迁移WSO2 API-M Analytics的配置时,必须使用WUM更新的WSO2 API Manager Analytics 2.6.0包。
请让我知道为什么在Analytics(分析)服务器上抛出此恒定错误。我已经启动了流处理器的工作节点,并且据我了解,应该有一个碳应用程序可以接收来自APIM的LogAnalyzer事件。
谢谢
答案 0 :(得分:0)
日志分析器分析在APIM分析2.6.0中已弃用。从APIM 2.6.0中删除日志分析器发布者