Configuring Kibana Connection Settings

About this task

This section provides information about configuring internal or external Kibana for API Gateway from Command Central.

To configure Kibana

Procedure

  1. In Command Central, navigate to Environments > Instances > All > API Gateway > Configuration.
  2. Select Kibana from the drop-down menu.
    The Kibana instances list appears.
  3. Click the instance that you want to configure.
  4. Select one of the following values in the Auto start field:
    • Yes - if you are using internal Kibana.
    • No - if you are using external Kibana.
  5. If you are using external Kibana, provide the Host and Port of the server where the Kibana is running in the Transport section. Else, do not enter any values in those fields.
  6. Save your changes.
    The Pending restart value is changed to true and Status is Enabled.
  7. Restart the API Gateway instance.
    The Kibana details are updated in API Gateway.

Configuring Kibana using Template

About this task

You can configure Kibana using the following Command Central template:

sagcc exec templates composite import -i cc-kibana.yaml

sagcc exec templates composite apply cc-kibana nodes=local host=hostname port=portnumber

Sample Kibana configuration template

alias: cc-kibana-alias
description: HTTPS elastic search template

layers:
  runtime:
    templates:   
     - cc-kibana

templates:
  cc-kibana:
    products:
      integrationServer:
        default:
          configuration:
            OSGI-IS_apigateway-WmAPIGateway:
              APIGATEWAY-KIBANA:
                APIGATEWAY-KIBANA:
                  '@alias': Kibana
                  autostart: 'false'
                  Transport:
                    Host: ${host}
                    Port: ${port}
                  
                    
provision:
  default:
    runtime: ${nodes}