Skip to content

Latest commit

 

History

History
51 lines (32 loc) · 1.57 KB

File metadata and controls

51 lines (32 loc) · 1.57 KB
description
OpenSearch Deployment

DEPRECATED - OpenSearch

{% hint style="warning" %} This guide is no longer relevant as OpenSearch is now directly installable with OpenG2P Modules. This guide will soon be removed. {% endhint %}

Logs captured by Fluentd from different components are pushed to OpenSearch for search, display, and reports.

Prerequisites

  • The following utilities/tools must be present on the user's machine.
    • kubectl, istioctl, helm, jq, curl, wget, git, bash, envsubst.
  • Keycloak for Authentication and Sign-in to UI

Installation

Clone the https://github.com/openg2p/openg2p-deployment repo and navigate to kubernetes/logging directory.

Install OpenSearch (and related components)

  • Run this to install OpenSearch and related components.

    SANDBOX_HOSTNAME="openg2p.sandbox.net" \
        ./install.sh
  • After successful installation, OpenSearch dashboards can be accessed using the hostname given above.

Add Index State Policy on OpenSearch

  • Run this to add ISM Policy (This is responsible for automatically deleting logstash indices after 3 days. Configure the minimum age to delete indices, in the same script below.)

    ./opensearch-ism-script.sh

Dashboards

TBD

Access control on dashboards:

TBD

TraceId

TBD