Navigation
Table of Contents
Guide That Contains This Content
[+] Expand All
[-] Collapse All
Setting Up the Visual Presentation of Microservice Log Files
The Cloud CPE solution includes Kibana and Logstash to enable viewing of logged data for microservices in a visual format.
To set up logging in Kibana:
- Access Kibana using the URL for the server that you require (see Accessing the Contrail Services Orchestration GUIs).
- Select Settings > Indices.
- Click Create.
This action creates the
csplogs
index file. - Log in as root to the installer host and access the installer directory.
- Copy the
deploy_manager/export.json
file to a location from which you can import it to the Kibana GUI.Note: Do not change the format of the JSON file. The file must have the correct format to enable visualization of the logs.
- In the Kibana GUI, select Settings > Objects.
- Click Import.
- Navigate to the location of the
export.json
file that you made available in Step 5. - Click Open.
- Confirm overwriting of any existing data.
- Refresh the Kibana page.
- Access the dashboard to view the logs in a visual format.
Logs appear after an end user activates a network service.
Refer to the Kibana documentation for information about viewing files in a visual format.