Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Elasticsearch maintains the logs index for each microservice and enables you to view these logs through a graphical interface – Kibana. To view the Adeptia logs in Kibana, you need to create the index pattern for each microservice in Kibana. Follow the steps given below to view the application logs using Kibana.

  1. Log in to Kibana.
  2. Search for index
  3. Select Kibana/Index Patterns.
  4. Click Create index pattern.

    The Create index pattern page that opens displays all the microservices for which you want to create the index pattern.
  5. On the Create index pattern page, select a microservice, and then click Next step.
  6. Click Create index pattern.

    The screen below confirms that the index pattern has been created for the selected microservice.
  7. Click the menu  icon at the top-left corner, and then select Analytics > Discover.

    The next screen displays list of all the logs related to the selected microservice that can be downloaded by following the steps given in this section.

    Info
    Repeat steps 1 through 8 to create index patterns for other microservices and view their logs.


    In case you have deployed Adeptia Connect application to multiple namespaces in the Kubernetes cluster, you may want to filter logs related to a microservice based on the namespace. To know how to filter the logs, refer to this section.

Anchor
filter
filter
Filtering the logs based on namespace

You may be using the same Kubernetes cluster having different namespaces, each dedicated for a different environment, for example, Dev, QA, Prod. In this case, you see the logs for the selected microservice from all the namespaces. If you wish to view the logs for a specific namespace, you can follow the steps given below:

  1. Click the menu  icon at the top-left corner,
  2. Go to Analytics > Discover.
  3. On the Discover screen, in the left panel, select the index pattern associated with the microservice whose logs you want to view.
  4. Anchor
    four
    four
    Click.
  5. On the Edit filter screen, do the followings:
    1. In the Field field, select kubernetes.namespace_name.
    2. In the Operator field, select is.
    3. In the Value field, enter the name of the namespace.
    4. Click Save.

Anchor
download
download



Panel
borderStylesolid
titleYou may be interested in...
What is new
Application architecture
Key terms
Install
Usage scenarios