Bahmni event log service is used for the pulling the event logs for using the data offline as described here. Here are the steps to set up:
Check if event log service is existing
service bahmni-event-log-service status |
In inventory file located at /etc/bahmni-installer/local, add localhost for the bahmni-event-log-service entry
[bahmni-event-log-service] |
To install only bahmni event log service
ansible-playbook -i /etc/bahmni-installer/local /opt/bahmni-installer/bahmni-playbooks/all.yml -vv --extra-vars '@/etc/bahmni-installer/rpm_versions.yml' --extra-vars '@/etc/bahmni-installer/setup.yml' -t event-log |
To install all rpms including bahmni event log service
bahmni install |
Check if event-log-service is properly installed
curl http://dev.bahmnidev.org/event-log-service/ The response should be "Event log service is up and running." |
There is a migration script to add existing address heirarchy events on the server (from atom feed logs) to the event_log table. It should be manually run in this order:
To make concepts available for offline use, run the following python script
by running the command
python copyOfflineConcepts.py