the-virtual-brain / tvb-root

Main TVB codebase
https://thevirtualbrain.org
Other
123 stars 105 forks source link

HBP-216. Push logs to EBRAINS Elastics API #644

Closed rarescodemart closed 1 year ago

rarescodemart commented 1 year ago

We create here a logging handler to store the logs in elasticsearch Kebana provided by EBRAINS TC.

First we should merge this into master, and thus task is considered done.

When we will do release 2.8.1, then we should take care that in OKD the new elastic keys are added into .tvb.configuration as we describe here.

liadomide commented 1 year ago

I fixed in master the nibabel error (raised in TestNIFTIImporter). A rebase of this branch should be done

liadomide commented 1 year ago

I think we should also adapt in tvb_deployer.yml to make sure our flags/attributes for logging are correctly set. Make sure the KEY is not put on Git (not even as a default), but the rest (the URL, app_index) can be given

liadomide commented 1 year ago

Did you tested that a wrong URL, Kebana server being down or a wrong token are not blocking us, but instead that meaningful messages are visible somewhere ?