vlead / analytics-db

This repository will hold the documents and specifications for installing ELK stack for analytics purposes
Other
1 stars 2 forks source link

convert usage analytics txt data to json records before dump into elasticsearch #14

Closed ksripathi closed 7 years ago

ksripathi commented 7 years ago

currently, usage analytics of all the labs running from nonopenedx platform are calculated using erlang utility and results were stored into the output.txt file in the following format

lab_id, lab_name, institute_name, usage, visits, hits

since we are using elasticsearch database to store the all the usage analytics and it supports only json records we should convert all such records into json records

ksripathi commented 7 years ago

implemented POST API to push analytics data in json format to elasticsearch https://github.com/vlead/vlabs-analytics-service/blob/analytics-apis/src/runtime/rest/api.org#add-lab-wise-usage-analytics-of-labs-on-nonopenedx-platform-to-database