Collecting logs
Collecting logs
Log files for
Clara components are located inside the respective containers.
In case of issues,
contact Clara Support Team and provide a .zip file containing all Clara
log files.
To extract Clara
log files and create a .zip file, run the following procedure:
-
For
each container, extract the log file with the following commands:
-
For reverse proxy container:
$(docker logs
clara-nginx -t) > clara-nginx.log
-
For identity management container:
$(docker logs
clara-keycloak -t) > clara-keycloak.log
-
For credential manager container:
$(docker logs
clara-credmanager -t) > clara-credmanager.log
-
For AutoBot engine container:
$(docker logs
clara-autobot -t) > clara-autobot.log
-
For Kibana container:
$(docker logs
clara-dashboard -t) > clara-dashboard.log
-
For extension engine container
(extension engine provides NLP functionality to Autobot):
$(docker logs
clara-extension -t) > clara-extension.log
-
For Elasticsearch container:
$(docker logs
clara-datastore -t) > clara-datastore.log
-
For Apache Solr container:
$(docker logs
clara-search-engine -t) > clara-search-engine.log
-
For Clara search engine container
(Clara search engine is used to configure Solr cores at installation
time):
$(docker logs
clara-search-config -t) > clara-search-config.log
-
For microservice container
(microservice handles semantic search queries):
$(docker logs
clara-queryservice -t) > clara-queryservice.log
-
For Clara asychronous service
container (Clara asychronous service
handles the execution of asynchronous task interacting with WA):
$(docker logs clara-asyncservice -t) >
clara-asyncservice.log
-
For Clara rabbitmq container (Clara rabbitmq handles message
exchange between front-end and asynchronous service):
$(docker logs
clara-rabbitmq -t) > clara-rabbitmq.log
For your convenience, you
can run the above commands all together. Copy and paste the following
expression:
$(docker logs clara-nginx -t) > clara-nginx.log
; $(docker logs clara-keycloak -t) > clara-keycloak.log ; $(docker
logs clara-credmanager -t) > clara-credmanager.log ; $(docker logs
clara-autobot -t) > clara-autobot.log ; $(docker logs clara-dashboard
-t) > clara-dashboard.log ; $(docker logs clara-extension -t) >
clara-extension.log ; $(docker logs clara-datastore -t) > clara-datastore.log
; $(docker logs clara-search-engine -t) > clara-search-engine.log ;
$(docker logs clara-search-config -t) > clara-search-config.log ; $(docker
logs clara-queryservice -t) > clara-queryservice.log ; $(docker logs
clara-asyncservice -t) > clara-asyncservice.log ; $(docker logs clara-rabbitmq
-t) > clara-rabbitmq.log
-
Create a .zip file by running the following
command:
tar -czvf clara-logs.tar.gz ./*.log
Read more here: Source link