WSO2SP as analytics for APIM and EI










0















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)?










share|improve this question



















  • 1





    Please check whether you have older AM version pointed at the new SP based analytics distribution since log_analyzer is discontinued in the lates version

    – Tishan
    Nov 15 '18 at 15:26











  • @Tishan thanks for the update, I won't use the loganalyzer then (DAS_AGENT logger). Indeed events form APIM and EI are processed (though EI:ESB stats are not shown, maybe I open another question for that)

    – gusto2
    Nov 15 '18 at 16:34















0















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)?










share|improve this question



















  • 1





    Please check whether you have older AM version pointed at the new SP based analytics distribution since log_analyzer is discontinued in the lates version

    – Tishan
    Nov 15 '18 at 15:26











  • @Tishan thanks for the update, I won't use the loganalyzer then (DAS_AGENT logger). Indeed events form APIM and EI are processed (though EI:ESB stats are not shown, maybe I open another question for that)

    – gusto2
    Nov 15 '18 at 16:34













0












0








0








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)?










share|improve this question
















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)?







wso2 wso2sp






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Nov 15 '18 at 13:30







gusto2

















asked Nov 15 '18 at 13:20









gusto2gusto2

5,0432922




5,0432922







  • 1





    Please check whether you have older AM version pointed at the new SP based analytics distribution since log_analyzer is discontinued in the lates version

    – Tishan
    Nov 15 '18 at 15:26











  • @Tishan thanks for the update, I won't use the loganalyzer then (DAS_AGENT logger). Indeed events form APIM and EI are processed (though EI:ESB stats are not shown, maybe I open another question for that)

    – gusto2
    Nov 15 '18 at 16:34












  • 1





    Please check whether you have older AM version pointed at the new SP based analytics distribution since log_analyzer is discontinued in the lates version

    – Tishan
    Nov 15 '18 at 15:26











  • @Tishan thanks for the update, I won't use the loganalyzer then (DAS_AGENT logger). Indeed events form APIM and EI are processed (though EI:ESB stats are not shown, maybe I open another question for that)

    – gusto2
    Nov 15 '18 at 16:34







1




1





Please check whether you have older AM version pointed at the new SP based analytics distribution since log_analyzer is discontinued in the lates version

– Tishan
Nov 15 '18 at 15:26





Please check whether you have older AM version pointed at the new SP based analytics distribution since log_analyzer is discontinued in the lates version

– Tishan
Nov 15 '18 at 15:26













@Tishan thanks for the update, I won't use the loganalyzer then (DAS_AGENT logger). Indeed events form APIM and EI are processed (though EI:ESB stats are not shown, maybe I open another question for that)

– gusto2
Nov 15 '18 at 16:34





@Tishan thanks for the update, I won't use the loganalyzer then (DAS_AGENT logger). Indeed events form APIM and EI are processed (though EI:ESB stats are not shown, maybe I open another question for that)

– gusto2
Nov 15 '18 at 16:34












1 Answer
1






active

oldest

votes


















0














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.






share|improve this answer























  • it' all look working, just the portal doesn't show any data (when using analytics bundled along wso2ei it's working all, I don't much understand where is the difference)

    – gusto2
    Nov 16 '18 at 9:21











  • Gusto2, Did you configure the data source in dashboard profile (/conf/dashboard/deployment.yaml) pointing to the correct database?

    – Niveathika
    Nov 19 '18 at 6:17











  • @Niveathika: yeah,I had to use an external database to make it work (I used mysql , using the default h2 did not work properly). Still some tables are not created for micro-gw analytics (we don't use mgw, so it's fine so far)

    – gusto2
    Nov 20 '18 at 7:35












  • @gusto2 After populating the database with EI analytics data, can you verify whether tables contain populated data by examining DB tables?

    – Tharindu Bandara
    Dec 3 '18 at 6:51












  • @TharinduBandara Definitely there are data frmom API GW (default gateway) and EI, we didn't use micro-gateway so far

    – gusto2
    Dec 3 '18 at 8:58










Your Answer






StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");

StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













draft saved

draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53320426%2fwso2sp-as-analytics-for-apim-and-ei%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









0














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.






share|improve this answer























  • it' all look working, just the portal doesn't show any data (when using analytics bundled along wso2ei it's working all, I don't much understand where is the difference)

    – gusto2
    Nov 16 '18 at 9:21











  • Gusto2, Did you configure the data source in dashboard profile (/conf/dashboard/deployment.yaml) pointing to the correct database?

    – Niveathika
    Nov 19 '18 at 6:17











  • @Niveathika: yeah,I had to use an external database to make it work (I used mysql , using the default h2 did not work properly). Still some tables are not created for micro-gw analytics (we don't use mgw, so it's fine so far)

    – gusto2
    Nov 20 '18 at 7:35












  • @gusto2 After populating the database with EI analytics data, can you verify whether tables contain populated data by examining DB tables?

    – Tharindu Bandara
    Dec 3 '18 at 6:51












  • @TharinduBandara Definitely there are data frmom API GW (default gateway) and EI, we didn't use micro-gateway so far

    – gusto2
    Dec 3 '18 at 8:58















0














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.






share|improve this answer























  • it' all look working, just the portal doesn't show any data (when using analytics bundled along wso2ei it's working all, I don't much understand where is the difference)

    – gusto2
    Nov 16 '18 at 9:21











  • Gusto2, Did you configure the data source in dashboard profile (/conf/dashboard/deployment.yaml) pointing to the correct database?

    – Niveathika
    Nov 19 '18 at 6:17











  • @Niveathika: yeah,I had to use an external database to make it work (I used mysql , using the default h2 did not work properly). Still some tables are not created for micro-gw analytics (we don't use mgw, so it's fine so far)

    – gusto2
    Nov 20 '18 at 7:35












  • @gusto2 After populating the database with EI analytics data, can you verify whether tables contain populated data by examining DB tables?

    – Tharindu Bandara
    Dec 3 '18 at 6:51












  • @TharinduBandara Definitely there are data frmom API GW (default gateway) and EI, we didn't use micro-gateway so far

    – gusto2
    Dec 3 '18 at 8:58













0












0








0







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.






share|improve this 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.







share|improve this answer












share|improve this answer



share|improve this answer










answered Nov 15 '18 at 14:05









Tharindu BandaraTharindu Bandara

167




167












  • it' all look working, just the portal doesn't show any data (when using analytics bundled along wso2ei it's working all, I don't much understand where is the difference)

    – gusto2
    Nov 16 '18 at 9:21











  • Gusto2, Did you configure the data source in dashboard profile (/conf/dashboard/deployment.yaml) pointing to the correct database?

    – Niveathika
    Nov 19 '18 at 6:17











  • @Niveathika: yeah,I had to use an external database to make it work (I used mysql , using the default h2 did not work properly). Still some tables are not created for micro-gw analytics (we don't use mgw, so it's fine so far)

    – gusto2
    Nov 20 '18 at 7:35












  • @gusto2 After populating the database with EI analytics data, can you verify whether tables contain populated data by examining DB tables?

    – Tharindu Bandara
    Dec 3 '18 at 6:51












  • @TharinduBandara Definitely there are data frmom API GW (default gateway) and EI, we didn't use micro-gateway so far

    – gusto2
    Dec 3 '18 at 8:58

















  • it' all look working, just the portal doesn't show any data (when using analytics bundled along wso2ei it's working all, I don't much understand where is the difference)

    – gusto2
    Nov 16 '18 at 9:21











  • Gusto2, Did you configure the data source in dashboard profile (/conf/dashboard/deployment.yaml) pointing to the correct database?

    – Niveathika
    Nov 19 '18 at 6:17











  • @Niveathika: yeah,I had to use an external database to make it work (I used mysql , using the default h2 did not work properly). Still some tables are not created for micro-gw analytics (we don't use mgw, so it's fine so far)

    – gusto2
    Nov 20 '18 at 7:35












  • @gusto2 After populating the database with EI analytics data, can you verify whether tables contain populated data by examining DB tables?

    – Tharindu Bandara
    Dec 3 '18 at 6:51












  • @TharinduBandara Definitely there are data frmom API GW (default gateway) and EI, we didn't use micro-gateway so far

    – gusto2
    Dec 3 '18 at 8:58
















it' all look working, just the portal doesn't show any data (when using analytics bundled along wso2ei it's working all, I don't much understand where is the difference)

– gusto2
Nov 16 '18 at 9:21





it' all look working, just the portal doesn't show any data (when using analytics bundled along wso2ei it's working all, I don't much understand where is the difference)

– gusto2
Nov 16 '18 at 9:21













Gusto2, Did you configure the data source in dashboard profile (/conf/dashboard/deployment.yaml) pointing to the correct database?

– Niveathika
Nov 19 '18 at 6:17





Gusto2, Did you configure the data source in dashboard profile (/conf/dashboard/deployment.yaml) pointing to the correct database?

– Niveathika
Nov 19 '18 at 6:17













@Niveathika: yeah,I had to use an external database to make it work (I used mysql , using the default h2 did not work properly). Still some tables are not created for micro-gw analytics (we don't use mgw, so it's fine so far)

– gusto2
Nov 20 '18 at 7:35






@Niveathika: yeah,I had to use an external database to make it work (I used mysql , using the default h2 did not work properly). Still some tables are not created for micro-gw analytics (we don't use mgw, so it's fine so far)

– gusto2
Nov 20 '18 at 7:35














@gusto2 After populating the database with EI analytics data, can you verify whether tables contain populated data by examining DB tables?

– Tharindu Bandara
Dec 3 '18 at 6:51






@gusto2 After populating the database with EI analytics data, can you verify whether tables contain populated data by examining DB tables?

– Tharindu Bandara
Dec 3 '18 at 6:51














@TharinduBandara Definitely there are data frmom API GW (default gateway) and EI, we didn't use micro-gateway so far

– gusto2
Dec 3 '18 at 8:58





@TharinduBandara Definitely there are data frmom API GW (default gateway) and EI, we didn't use micro-gateway so far

– gusto2
Dec 3 '18 at 8:58



















draft saved

draft discarded
















































Thanks for contributing an answer to Stack Overflow!


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53320426%2fwso2sp-as-analytics-for-apim-and-ei%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







這個網誌中的熱門文章

How to read a connectionString WITH PROVIDER in .NET Core?

Node.js Script on GitHub Pages or Amazon S3

Museum of Modern and Contemporary Art of Trento and Rovereto