Ingesting Data into an OpenSearch Cluster with Logstash
Use Logstash to ingest log data into an OpenSearch cluster.
Logstash is a data processing pipeline that can ingest data from a variety of sources, process and transform it, and then send it to a destination such as an OpenSearch cluster.
Prerequisites
Complete the following tasks before proceeding with the steps described in this topic:
- Download and install Java Development Kit (JDK) version 8 or version 11 on your local machine.
-
Create an OpenSearch cluster and make note of the connection information. See Creating an OpenSearch Cluster and Getting an OpenSearch Cluster's Details.
-
Create and connect to a compute instance. The instance must be in the same VCN as the OpenSearch cluster. See Creating a VM Instance.
- Connect to the OpenSearch cluster from your local machine. See Task 3: Test the connection to OCI Search Service – OpenSearch endpoint
Install and Configure LogStash
You can verify that the log data was ingested into the OpenSearch cluster by connecting to the cluster's OpenSearch Dashboard to check for the index named what you specified for index
in the pipleline configuration file. See Task 6: Connect to OpenSearch Dashboards and Quickstart guide for OpenSearch Dashboards.