WSO2SP as analytics for APIM and EI

325 Views Asked by At

I'm trying to use WSO2SP-4.3.0 as analytics for both WSO2AM-2.6.0 and WSO2EI-6.4.0 (integrator). The only reference I found for this options is mentioned here https://docs.wso2.com/display/SP430/Analytics+Solutions

Setting up ports and solutions map:

analytics.solutions:
  APIM-analytics.enabled: true
  EI-analytics.enabled: true 

running a worker and dashboard of the SP

Seems the stream definitions for loganalyzer is not loaded, worker throws following exceptions:

 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
     ...
Caused by: org.wso2.carbon.databridge.core.exception.EventConversionException:
 No StreamDefinition for streamId loganalyzer:1.0.0 present in cache
      ...
    ...

I haven't find source of the loganalyzer stream definition (even in the original ws2am-analytics-2.6.0 package).

Any help is appreciated (or shall I just disable the DAS_AGENT from APIM)?

1

There are 1 best solutions below

6
On BEST ANSWER

This seems like a configuration issue. It might be easier to try one at a time to narrow down the problem. I suggest you follow [EI-Analytics] Configure WSO2 SP for WSO2 EI to configure EI analytics with SP with enabling EI analytics first.