Issue while accessing edx analytics api

40 views
Skip to first unread message

sha...@vlabs.ac.in

unread,
Jul 7, 2016, 6:43:22 AM7/7/16
to General Open edX discussion
Hello edX team,

I need help in accessing analytics api through browser..

1.LMS is in one machine
2.Insights is in another machine for the analytics

Now, In insights machine,  Analytics-Data-Api is running on 8100 port

now i just want to access these APIs through browser.

Please help in this.

I performed steps mentioned at https://github.com/edx/edx-analytics-pipeline/wiki/Running-the-analytics-backend-locally and https://github.com/edx/edx-analytics-data-api on my Insights machine

In above links there is command "make loaddata", I ran it , but it is loading only Demo_course( Fake data).  How can access other courses related data.

Do i need to modify anything in /edx/etc/* configuration files?



Thanks






Gabe Mulley

unread,
Jul 7, 2016, 9:28:27 AM7/7/16
to edx-...@googlegroups.com
Hi,

Are you running the data pipeline? Or just insights and the API? I recommend following these instructions instead of the ones you referenced:


"make loaddata" is intended to just load some fake data for development purposes. You need to run the data pipeline if you want to actually analyze your data.

Thanks,
-Gabe

--
You received this message because you are subscribed to the Google Groups "General Open edX discussion" group.
To view this discussion on the web visit https://groups.google.com/d/msgid/edx-code/3739681a-3054-4c56-ab3a-7501e4445c70%40googlegroups.com.

sha...@vlabs.ac.in

unread,
Jul 8, 2016, 12:15:46 AM7/8/16
to General Open edX discussion, engi...@vlabs.ac.in
Thanks Gabe,

I followed the same link to setup edX Insights for analytics. All are working fine it seams.
yes, i am running  data pipeline. As they suggested in the link we are able to see some analytics through http://insights.x.x.com:18110/

We are able to run pipeline tasks (steps 6 -7 mentioned in the link).
1. Engagement and Geography links still not working.  Pipeline remote-tasks are at  https://github.com/edx/edx-analytics-pipeline/wiki/Tasks-to-Run-to-Update-Insights

I just need to know how to access these analytics info using APIs.

I ran following to access the appi ( Referred  https://github.com/edx/edx-analytics-pipeline/wiki/Running-the-analytics-backend-locally )

/edx/app/analytics_api/analytics_api# ./manage.py runserver 0.0.0.0:8080

Then I am able to see dummy data( you can have look at attached file ). The same i just want see my course related info using APIs.
Screenshot from 2016-07-08 09-41-40.png
Reply all
Reply to author
Forward
0 new messages