Collecting logs





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:

 

  1. For
    each container, extract the log file with the following commands:
     

    1. For reverse proxy container:

$(docker logs
clara-nginx -t) > clara-nginx.log  

    1. For identity management container:

$(docker logs
clara-keycloak -t) > clara-keycloak.log  

    1. For credential manager container:

$(docker logs
clara-credmanager -t) > clara-credmanager.log  

    1. For AutoBot engine container:

$(docker logs
clara-autobot -t) > clara-autobot.log  

    1. For Kibana container:

$(docker logs
clara-dashboard -t) > clara-dashboard.log  

    1. For extension engine container
      (extension engine provides NLP functionality to Autobot):

$(docker logs
clara-extension -t) >  clara-extension.log  

    1. For Elasticsearch container:

$(docker logs
clara-datastore -t) > clara-datastore.log  

    1. For Apache Solr container:

$(docker logs
clara-search-engine -t) > clara-search-engine.log  

    1. 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  

    1. For microservice container
      (microservice handles semantic search queries):

$(docker logs
clara-queryservice -t) > clara-queryservice.log

    1. 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

    1. 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

 

 

  1. Create a .zip file by running the following
    command:

tar -czvf clara-logs.tar.gz ./*.log

 

 

 



Read more here: Source link