Enabling Elastic monitoring

Elasticsearch monitoring is a free Elastic X-Pack feature that provides operational visibility. Starting with IBM Cloud Private 3.2.1, this feature is enabled during logging service installation in both managed and standard modes. You can use these instructions to disable the Elastic monitoring feature for both mode types.

Before you begin, consider the following tips:

  1. Extract the existing logging chart parameters.
    • Extract Helm parameters by running the following command: helm get values logging --tls > values-old.yaml
    • Optionally, apply prior adjustments. All Kubernetes resource manifest adjustments that are made by using the kubectl command are overridden with values that are defined in chart parameters. Replica count, JVM heap size, or container memory limits are a few examples. If prior Kubernetes resource manifests were adjusted, make sure that you apply the same adjustments to values-old.yaml.
  2. Prepare chart parameters.

    • Create a values-override.yaml file to include the following parameters:

       xpack:
         monitoring: false
      
  3. Download the chart.

    • Identify chart version.

      Logging chart versions vary based on the installed IBM Cloud Private version. You can use IBM Cloud Private management console to find chart versions in the service catalog. The logging chart can be identified by the name ibm-icplogging under the mgmt-repo repository. You can also select SOURCE & TAR FILES from the IBM Cloud Private management console to find a local link to a chart.

    • Download the chart .tar file.

      Run the following command by using the local link found in Step 3:

       curl -k https://<master ip>:8443/mgmt-repo/requiredAssets/ibm-icplogging-x.y.z.tgz > ibm-icplogging-x.y.z.tgz
      
  4. Upgrade the Helm chart.

    Run the following command. Replace x.y.z with the version that you found in Step 3:

    helm upgrade logging ibm-icplogging-x.y.z.tgz -f values-old.yaml -f values-override.yaml --recreate-pods --force --timeout 600 --tls
    
  5. The logging service becomes available in approximately 5 - 10 minutes. You can also check Helm upgrade status by using the following command:

     helm history --tls logging