1. Set Up OpenSearch Dashboard using Instaclustr Refer to this video to create a cluster: Getting started with OpenSearch on Instaclustr ⚠️ Note: It may take a few minutes for your cluster to start running. 2. Set Up OpenSearch & Integrate Logging in Your Application Once your cluster is running, go to the Connection Info section below your cluster details. There, you’ll find your OpenSearch username and password. Scroll down to find the public host address and port — this is the host you'll use to set up logging in your app Once you have all things, install below npm packages npm install winston @opensearch-project/opensearch yarn add winston @opensearch-project/opensearch Paste the code from this gist into logger.js file in your project. Run your application — you should see logs printing to the console. 3. Set Up Your Index in OpenSearch Head over to your OpenSearch Dashboard. Navigate to Dashboard Management → Index Patterns to create and manage your index. 4. Send Logs from Your Application to OpenSearch

1. Set Up OpenSearch Dashboard using Instaclustr
Refer to this video to create a cluster: Getting started with OpenSearch on Instaclustr
⚠️ Note: It may take a few minutes for your cluster to start running.
2. Set Up OpenSearch & Integrate Logging in Your Application
- Once your cluster is running, go to the Connection Info section below your cluster details. There, you’ll find your OpenSearch username and password.
- Scroll down to find the public host address and port — this is the host you'll use to set up logging in your app
- Once you have all things, install below npm packages
npm install winston @opensearch-project/opensearch
yarn add winston @opensearch-project/opensearch
- Paste the code from this gist into logger.js file in your project.
- Run your application — you should see logs printing to the console.
3. Set Up Your Index in OpenSearch
- Head over to your OpenSearch Dashboard.
- Navigate to Dashboard Management → Index Patterns to create and manage your index.
4. Send Logs from Your Application to OpenSearch