Compare commits
36
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b93af9a94b | ||
|
|
25421e60e0 | ||
|
|
c961ca45d0 | ||
|
|
fb9ecbbc15 | ||
|
|
63f391a3ef | ||
|
|
537eaa7743 | ||
|
|
c098a80fdb | ||
|
|
546ce5293b | ||
|
|
9e4618111c | ||
|
|
40f2e462c1 | ||
|
|
0257a9de5d | ||
|
|
cff7b8fea3 | ||
|
|
9ae5a6bfc8 | ||
|
|
3bbdae031e | ||
|
|
540595fcea | ||
|
|
13eb8e50ff | ||
|
|
c6aaa74993 | ||
|
|
96f2dbafdf | ||
|
|
45c8214c2b | ||
|
|
4841a9985c | ||
|
|
49a765d0a5 | ||
|
|
67423ff9c2 | ||
|
|
5a4d4dabba | ||
|
|
05d6b6cb5d | ||
|
|
432005eaa0 | ||
|
|
3d3bc88422 | ||
|
|
d00637b05e | ||
|
|
be8d244d8c | ||
|
|
1e031e8362 | ||
|
|
c0871cfe0d | ||
|
|
18e74399fa | ||
|
|
21b4c3ab87 | ||
|
|
24acbc3d56 | ||
|
|
faa347c20f | ||
|
|
31ebf2634d | ||
|
|
610c958b2d |
@@ -8,15 +8,17 @@ source "https://rubygems.org"
|
|||||||
#
|
#
|
||||||
# This will help ensure the proper Jekyll version is running.
|
# This will help ensure the proper Jekyll version is running.
|
||||||
# Happy Jekylling!
|
# Happy Jekylling!
|
||||||
# gem "jekyll", "~> 3.9.0"
|
gem "jekyll", "~> 4.2.0"
|
||||||
|
|
||||||
# This is the default theme for new Jekyll sites. You may change this to anything you like.
|
# This is the default theme for new Jekyll sites. You may change this to anything you like.
|
||||||
gem "just-the-docs", "~> 0.3.3"
|
gem "just-the-docs", "~> 0.3.3"
|
||||||
|
gem "jekyll-remote-theme", "~> 0.4"
|
||||||
|
gem "jekyll-redirect-from", "~> 0.16"
|
||||||
|
|
||||||
# If you want to use GitHub Pages, remove the "gem "jekyll"" above and
|
# If you want to use GitHub Pages, remove the "gem "jekyll"" above and
|
||||||
# uncomment the line below. To upgrade, run `bundle update github-pages`.
|
# uncomment the line below. To upgrade, run `bundle update github-pages`.
|
||||||
|
|
||||||
gem 'github-pages', group: :jekyll_plugins
|
# gem 'github-pages', group: :jekyll_plugins
|
||||||
|
|
||||||
# If you have any plugins, put them here!
|
# If you have any plugins, put them here!
|
||||||
# group :jekyll_plugins do
|
# group :jekyll_plugins do
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
# OpenSearch documentation
|
# OpenSearch documentation
|
||||||
|
|
||||||
This repository contains the documentation for OpenSearch, the search, analytics, and visualization suite with advanced security, alerting, SQL support, automated index management, deep performance analysis, and more. You can find the rendered documentation at [docs-beta.opensearch.org](https://docs-beta.opensearch.org).
|
This repository contains the documentation for OpenSearch, the search, analytics, and visualization suite with advanced security, alerting, SQL support, automated index management, deep performance analysis, and more. You can find the rendered documentation at [opensearch.org/docs](https://opensearch.org/docs).
|
||||||
|
|
||||||
Community contributions remain essential in keeping this documentation comprehensive, useful, well-organized, and up-to-date.
|
Community contributions remain essential in keeping this documentation comprehensive, useful, well-organized, and up-to-date.
|
||||||
|
|
||||||
@@ -11,9 +11,9 @@ Community contributions remain essential in keeping this documentation comprehen
|
|||||||
|
|
||||||
Often, engineering teams can keep existing documentation up-to-date with minimal effort, thus freeing up the documentation team to focus on larger projects.
|
Often, engineering teams can keep existing documentation up-to-date with minimal effort, thus freeing up the documentation team to focus on larger projects.
|
||||||
|
|
||||||
- Do you have expertise in a particular area of OpenSearch? Cluster sizing? The query DSL? Painless scripting? Aggregations? JVM settings? Take a look at the [current content](https://docs-beta.opensearch.org/docs/opensearch/) and see where you can add value. The [documentation team](#points-of-contact) is happy to help you polish and organize your drafts.
|
- Do you have expertise in a particular area of OpenSearch? Cluster sizing? The query DSL? Painless scripting? Aggregations? JVM settings? Take a look at the [current content](https://opensearch.org/docs/opensearch/) and see where you can add value. The [documentation team](#points-of-contact) is happy to help you polish and organize your drafts.
|
||||||
|
|
||||||
- Are you an OpenSearch Dashboards expert? How did you set up your visualizations? Why is a particular dashboard so valuable to your organization? We have [very little](https://docs-beta.opensearch.org/docs/opensearch-dashboards/) on how to use OpenSearch Dashboards, only how to install it.
|
- Are you an OpenSearch Dashboards expert? How did you set up your visualizations? Why is a particular dashboard so valuable to your organization? We have [very little](https://opensearch.org/docs/opensearch-dashboards/) on how to use OpenSearch Dashboards, only how to install it.
|
||||||
|
|
||||||
- Are you a web developer? Do you want to add an optional dark mode to the documentation? A "copy to clipboard" button for our code samples? Other improvements to the design or usability? See [major changes](#major-changes) for information on building the website locally.
|
- Are you a web developer? Do you want to add an optional dark mode to the documentation? A "copy to clipboard" button for our code samples? Other improvements to the design or usability? See [major changes](#major-changes) for information on building the website locally.
|
||||||
|
|
||||||
@@ -30,11 +30,9 @@ If you encounter problems or have questions when contributing to the documentati
|
|||||||
- [snyder114](https://github.com/snyder114)
|
- [snyder114](https://github.com/snyder114)
|
||||||
|
|
||||||
|
|
||||||
## How we build the website
|
## How the website works
|
||||||
|
|
||||||
After each commit to this repository, GitHub Pages automatically uses [Jekyll](https://jekyllrb.com) to rebuild the [website](https://docs-beta.opensearch.org). The whole process takes around 30 seconds.
|
This repository contains many [Markdown](https://guides.github.com/features/mastering-markdown/) files organized into Jekyll "collections" (e.g. `_search-plugins`, `_opensearch`, etc.). Each Markdown file correlates with one page on the website.
|
||||||
|
|
||||||
This repository contains many [Markdown](https://guides.github.com/features/mastering-markdown/) files in the `/docs` directory. Each Markdown file correlates with one page on the website.
|
|
||||||
|
|
||||||
Using plain text on GitHub has many advantages:
|
Using plain text on GitHub has many advantages:
|
||||||
|
|
||||||
|
|||||||
@@ -4,13 +4,28 @@ title: Agents and ingestion tools
|
|||||||
nav_order: 100
|
nav_order: 100
|
||||||
has_children: false
|
has_children: false
|
||||||
has_toc: false
|
has_toc: false
|
||||||
|
redirect_from:
|
||||||
|
- /clients/agents-and-ingestion-tools/
|
||||||
---
|
---
|
||||||
|
|
||||||
# Agents and ingestion tools
|
# Agents and ingestion tools
|
||||||
|
|
||||||
Historically, many multiple popular agents and ingestion tools have worked with Elasticsearch OSS, such as Beats, Logstash, Fluentd, FluentBit, and OpenTelemetry. OpenSearch aims to continue to support a broad set of agents and ingestion tools, but not all have been tested or have explicitly added OpenSearch compatibility.
|
Historically, many multiple popular agents and ingestion tools have worked with Elasticsearch OSS, such as Beats, Logstash, Fluentd, FluentBit, and OpenTelemetry. OpenSearch aims to continue to support a broad set of agents and ingestion tools, but not all have been tested or have explicitly added OpenSearch compatibility.
|
||||||
|
|
||||||
As an intermediate solution, we are adding a [version value](https://github.com/opensearch-project/OpenSearch/issues/693) to `opensearch.yml`. This change will let you set OpenSearch 1.x clusters to report version 7.10.2 (or any other arbitrary value). By reporting 7.10.2, the cluster will be able to connect with tools that check for a particular version number.
|
As an intermediate compatibility solution, OpenSearch has a setting that instructs the cluster to return version 7.10.2 rather than its actual version.
|
||||||
|
|
||||||
|
If you use clients that include a version check, such as recent versions of Logstash OSS or Filebeat OSS, enable the setting:
|
||||||
|
|
||||||
|
```json
|
||||||
|
PUT _cluster/settings
|
||||||
|
{
|
||||||
|
"persistent": {
|
||||||
|
"compatibility": {
|
||||||
|
"override_main_response_version": true
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
For a longer term solution, we plan to create an OpenSearch output plugin for Logstash. This plugin *does not exist yet*, but we've included it in the compatibility matrices below based on its expected behavior.
|
For a longer term solution, we plan to create an OpenSearch output plugin for Logstash. This plugin *does not exist yet*, but we've included it in the compatibility matrices below based on its expected behavior.
|
||||||
|
|
||||||
|
|||||||
@@ -0,0 +1,124 @@
|
|||||||
|
---
|
||||||
|
layout: default
|
||||||
|
title: Java high-level REST client
|
||||||
|
nav_order: 97
|
||||||
|
---
|
||||||
|
|
||||||
|
# Java high-level REST client
|
||||||
|
|
||||||
|
The Elasticsearch OSS Java high-level REST client allows you to interact with your OpenSearch clusters and indices through Java methods and data structures rather than HTTP methods and JSON.
|
||||||
|
|
||||||
|
You submit requests to your cluster using request objects, which allows you to create indices, add data to documents, or complete other operations with your cluster. In return, you get back response objects that have all of the available information, such as the associated index or ID, from your cluster.
|
||||||
|
|
||||||
|
## Setup
|
||||||
|
|
||||||
|
To start using the Elasticsearch OSS Java high-level REST client, ensure that you have the following dependency in your project's `pom.xml` file:
|
||||||
|
|
||||||
|
```
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.elasticsearch.client</groupId>
|
||||||
|
<artifactId>elasticsearch-rest-high-level-client</artifactId>
|
||||||
|
<version>7.10.2</version>
|
||||||
|
</dependency>
|
||||||
|
```
|
||||||
|
|
||||||
|
You can now start your OpenSearch cluster. The 7.10.2 high-level REST client works with the 1.x versions of OpenSearch.
|
||||||
|
|
||||||
|
## Sample code
|
||||||
|
|
||||||
|
```java
|
||||||
|
import org.apache.http.HttpHost;
|
||||||
|
import org.apache.http.auth.AuthScope;
|
||||||
|
import org.apache.http.auth.UsernamePasswordCredentials;
|
||||||
|
import org.apache.http.client.CredentialsProvider;
|
||||||
|
import org.apache.http.impl.client.BasicCredentialsProvider;
|
||||||
|
import org.apache.http.impl.nio.client.HttpAsyncClientBuilder;
|
||||||
|
import org.elasticsearch.action.admin.indices.delete.DeleteIndexRequest;
|
||||||
|
import org.elasticsearch.action.delete.DeleteRequest;
|
||||||
|
import org.elasticsearch.action.delete.DeleteResponse;
|
||||||
|
import org.elasticsearch.action.get.GetRequest;
|
||||||
|
import org.elasticsearch.action.get.GetResponse;
|
||||||
|
import org.elasticsearch.action.index.IndexRequest;
|
||||||
|
import org.elasticsearch.action.index.IndexResponse;
|
||||||
|
import org.elasticsearch.action.support.master.AcknowledgedResponse;
|
||||||
|
import org.elasticsearch.client.RequestOptions;
|
||||||
|
import org.elasticsearch.client.RestClient;
|
||||||
|
import org.elasticsearch.client.RestClientBuilder;
|
||||||
|
import org.elasticsearch.client.RestHighLevelClient;
|
||||||
|
import org.elasticsearch.client.indices.CreateIndexRequest;
|
||||||
|
import org.elasticsearch.client.indices.CreateIndexResponse;
|
||||||
|
import org.elasticsearch.common.settings.Settings;
|
||||||
|
import org.elasticsearch.common.xcontent.XContentType;
|
||||||
|
|
||||||
|
import java.io.IOException;
|
||||||
|
import java.util.HashMap;
|
||||||
|
|
||||||
|
public class RESTClientSample {
|
||||||
|
|
||||||
|
public static void main(String[] args) throws IOException {
|
||||||
|
|
||||||
|
//Point to keystore with appropriate certificates for security.
|
||||||
|
System.setProperty("javax.net.ssl.trustStore", "/full/path/to/keystore");
|
||||||
|
System.setProperty("javax.net.ssl.trustStorePassword", password-to-keystore);
|
||||||
|
|
||||||
|
//Establish credentials to use basic authentication.
|
||||||
|
//Only for demo purposes. Do not specify your credentials in code.
|
||||||
|
final CredentialsProvider credentialsProvider = new BasicCredentialsProvider();
|
||||||
|
|
||||||
|
credentialsProvider.setCredentials(AuthScope.ANY,
|
||||||
|
new UsernamePasswordCredentials("admin", "admin"));
|
||||||
|
|
||||||
|
//Create a client.
|
||||||
|
RestClientBuilder builder = RestClient.builder(new HttpHost("localhost", 9200, "https"))
|
||||||
|
.setHttpClientConfigCallback(new RestClientBuilder.HttpClientConfigCallback() {
|
||||||
|
@Override
|
||||||
|
public HttpAsyncClientBuilder customizeHttpClient(HttpAsyncClientBuilder httpClientBuilder) {
|
||||||
|
return httpClientBuilder.setDefaultCredentialsProvider(credentialsProvider);
|
||||||
|
}
|
||||||
|
});
|
||||||
|
RestHighLevelClient client = new RestHighLevelClient(builder);
|
||||||
|
|
||||||
|
//Create a non-default index with custom settings and mappings.
|
||||||
|
CreateIndexRequest createIndexRequest = new CreateIndexRequest("test-index");
|
||||||
|
|
||||||
|
createIndexRequest.settings(Settings.builder() //Specify in the settings how many shards you want in the index.
|
||||||
|
.put("index.number_of_shards", 4)
|
||||||
|
.put("index.number_of_replicas", 3)
|
||||||
|
);
|
||||||
|
//Create a set of maps for the index's mappings.
|
||||||
|
HashMap<String, String> typeMapping = new HashMap<String,String>();
|
||||||
|
typeMapping.put("type", "integer");
|
||||||
|
HashMap<String, Object> ageMapping = new HashMap<String, Object>();
|
||||||
|
ageMapping.put("age", typeMapping);
|
||||||
|
HashMap<String, Object> mapping = new HashMap<String, Object>();
|
||||||
|
mapping.put("properties", ageMapping);
|
||||||
|
createIndexRequest.mapping(mapping);
|
||||||
|
CreateIndexResponse createIndexResponse = client.indices().create(createIndexRequest, RequestOptions.DEFAULT
|
||||||
|
|
||||||
|
//Adding data to the index.
|
||||||
|
IndexRequest request = new IndexRequest("custom-index"); //Add a document to the custom-index we created.
|
||||||
|
request.id("1"); //Assign an ID to the document.
|
||||||
|
|
||||||
|
HashMap<String, String> stringMapping = new HashMap<String, String>();
|
||||||
|
stringMapping.put("message:", "Testing Java REST client");
|
||||||
|
request.source(stringMapping); //Place your content into the index's source.
|
||||||
|
IndexResponse indexResponse = client.index(request, RequestOptions.DEFAULT);
|
||||||
|
|
||||||
|
//Getting back the document
|
||||||
|
GetRequest getRequest = new GetRequest("custom-index", "1");
|
||||||
|
GetResponse response = client.get(getRequest, RequestOptions.DEFAULT);
|
||||||
|
|
||||||
|
System.out.println(response.getSourceAsString());
|
||||||
|
|
||||||
|
//Delete the document
|
||||||
|
DeleteRequest deleteDocumentRequest = new DeleteRequest("custom-index", "1"); //Index name followed by the ID.
|
||||||
|
DeleteResponse deleteResponse = client.delete(deleteDocumentRequest, RequestOptions.DEFAULT);
|
||||||
|
|
||||||
|
//Delete the index
|
||||||
|
DeleteIndexRequest deleteIndexRequest = new DeleteIndexRequest("custom-index"); //Index name.
|
||||||
|
AcknowledgedResponse deleteIndexResponse = client.indices().delete(deleteIndexRequest, RequestOptions.DEFAULT);
|
||||||
|
|
||||||
|
client.close();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
```
|
||||||
+4
-5
@@ -1,11 +1,11 @@
|
|||||||
title: OpenSearch documentation
|
title: OpenSearch documentation
|
||||||
description: >- # this means to ignore newlines until "baseurl:"
|
description: >- # this means to ignore newlines until "baseurl:"
|
||||||
Documentation for OpenSearch, the Apache 2.0 search, analytics, and visualization suite with advanced security, alerting, SQL support, automated index management, deep performance analysis, and more.
|
Documentation for OpenSearch, the Apache 2.0 search, analytics, and visualization suite with advanced security, alerting, SQL support, automated index management, deep performance analysis, and more.
|
||||||
baseurl: "" # the subpath of your site, e.g. /blog
|
baseurl: "/docs" # the subpath of your site, e.g. /blog
|
||||||
url: "https://docs-beta.opensearch.org" # the base hostname & protocol for your site, e.g. http://example.com
|
url: "https://opensearch.org" # the base hostname & protocol for your site, e.g. http://example.com
|
||||||
permalink: /:path/
|
permalink: /:path/
|
||||||
|
|
||||||
opensearch_version: 1.0.0-rc1
|
opensearch_version: 1.0.0
|
||||||
opensearch_major_minor_version: 1.0
|
opensearch_major_minor_version: 1.0
|
||||||
|
|
||||||
# Build settings
|
# Build settings
|
||||||
@@ -20,8 +20,7 @@ logo: "/assets/images/logo.svg"
|
|||||||
|
|
||||||
# Aux links for the upper right navigation
|
# Aux links for the upper right navigation
|
||||||
aux_links:
|
aux_links:
|
||||||
"Back to OpenSearch.org":
|
|
||||||
- "https://opensearch.org"
|
|
||||||
color_scheme: opensearch
|
color_scheme: opensearch
|
||||||
|
|
||||||
# Define Jekyll collections
|
# Define Jekyll collections
|
||||||
|
|||||||
@@ -28,6 +28,21 @@ If you don't want to use the all-in-one installation options, you can install th
|
|||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
|
<tr>
|
||||||
|
<td>1.0.0</td>
|
||||||
|
<td>
|
||||||
|
<pre>alertingDashboards 1.0.0.0
|
||||||
|
anomalyDetectionDashboards 1.0.0.0
|
||||||
|
ganttChartDashboards 1.0.0.0
|
||||||
|
indexManagementDashboards 1.0.0.0
|
||||||
|
notebooksDashboards 1.0.0.0
|
||||||
|
queryWorkbenchDashboards 1.0.0.0
|
||||||
|
reportsDashboards 1.0.0.0
|
||||||
|
securityDashboards 1.0.0.0
|
||||||
|
traceAnalyticsDashboards 1.0.0.0
|
||||||
|
</pre>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>1.0.0-rc1</td>
|
<td>1.0.0-rc1</td>
|
||||||
<td>
|
<td>
|
||||||
|
|||||||
@@ -36,6 +36,7 @@ A notebook is an interface for creating reports.
|
|||||||
|
|
||||||
Choose **Actions** to rename, duplicate, or delete a notebook.
|
Choose **Actions** to rename, duplicate, or delete a notebook.
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
### Step 2: Add a paragraph
|
### Step 2: Add a paragraph
|
||||||
|
|
||||||
@@ -55,7 +56,7 @@ For example, type `%md` for markdown, `%sql` for SQL, and `%ppl` for PPL.
|
|||||||
Add in text formatted in markdown.
|
Add in text formatted in markdown.
|
||||||
```
|
```
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
##### Sample SQL block
|
##### Sample SQL block
|
||||||
|
|
||||||
@@ -64,7 +65,7 @@ Add in text formatted in markdown.
|
|||||||
Select * from opensearch_dashboards_sample_data_flights limit 20;
|
Select * from opensearch_dashboards_sample_data_flights limit 20;
|
||||||
```
|
```
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
##### Sample PPL block
|
##### Sample PPL block
|
||||||
|
|
||||||
@@ -73,7 +74,7 @@ Select * from opensearch_dashboards_sample_data_flights limit 20;
|
|||||||
source=opensearch_dashboards_sample_data_logs | head 20
|
source=opensearch_dashboards_sample_data_logs | head 20
|
||||||
```
|
```
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
|
|
||||||
#### Add a visualization
|
#### Add a visualization
|
||||||
@@ -82,7 +83,7 @@ source=opensearch_dashboards_sample_data_logs | head 20
|
|||||||
1. In **Title**, select your visualization and choose a date range. You can choose multiple timelines to compare and contrast visualizations.
|
1. In **Title**, select your visualization and choose a date range. You can choose multiple timelines to compare and contrast visualizations.
|
||||||
1. To run and save a paragraph, choose **Run**.
|
1. To run and save a paragraph, choose **Run**.
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
## Paragraph actions
|
## Paragraph actions
|
||||||
|
|
||||||
@@ -93,7 +94,8 @@ You can perform the following actions on paragraphs:
|
|||||||
- Run all the paragraphs at the same time.
|
- Run all the paragraphs at the same time.
|
||||||
- Clear the outputs of all paragraphs.
|
- Clear the outputs of all paragraphs.
|
||||||
- Delete all the paragraphs.
|
- Delete all the paragraphs.
|
||||||
- Move paragraphs up and down.
|
|
||||||
|

|
||||||
|
|
||||||
## Sample notebooks
|
## Sample notebooks
|
||||||
|
|
||||||
@@ -105,6 +107,8 @@ We prepared the following sample notebooks that showcase a variety of use cases:
|
|||||||
|
|
||||||
To add a sample notebook, choose **Actions** and select **Add sample notebooks**.
|
To add a sample notebook, choose **Actions** and select **Add sample notebooks**.
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
## Create a report
|
## Create a report
|
||||||
|
|
||||||
You can use notebooks to create PNG and PDF reports:
|
You can use notebooks to create PNG and PDF reports:
|
||||||
@@ -116,3 +120,5 @@ You can use notebooks to create PNG and PDF reports:
|
|||||||
|
|
||||||
1. To create a schedule-based report, choose **Create report definition**. For steps to create a report definition, see [Create reports using a definition]({{site.url}}{{site.baseurl}}/dashboards/reporting#create-reports-using-a-definition).
|
1. To create a schedule-based report, choose **Create report definition**. For steps to create a report definition, see [Create reports using a definition]({{site.url}}{{site.baseurl}}/dashboards/reporting#create-reports-using-a-definition).
|
||||||
1. To see all your reports, choose **View all reports**.
|
1. To see all your reports, choose **View all reports**.
|
||||||
|
|
||||||
|

|
||||||
|
|||||||
@@ -0,0 +1 @@
|
|||||||
|
message: "🔥 [OpenSearch 1.0 released on July 12th! Get it now!](/downloads.html)"
|
||||||
@@ -0,0 +1,49 @@
|
|||||||
|
columns:
|
||||||
|
-
|
||||||
|
title: 'Get Involved'
|
||||||
|
links:
|
||||||
|
-
|
||||||
|
title: Code of Conduct
|
||||||
|
url: '/codeofconduct.html'
|
||||||
|
-
|
||||||
|
title: 'Forums'
|
||||||
|
url: 'https://discuss.opendistrocommunity.dev/'
|
||||||
|
-
|
||||||
|
title: 'Github'
|
||||||
|
url: 'https://github.com/opensearch-project'
|
||||||
|
-
|
||||||
|
title: 'Partners'
|
||||||
|
url: '/partners/'
|
||||||
|
-
|
||||||
|
title: 'Community Projects'
|
||||||
|
url: '/community_projects'
|
||||||
|
-
|
||||||
|
title: 'Resources'
|
||||||
|
links:
|
||||||
|
#-
|
||||||
|
# title: 'Documentation'
|
||||||
|
# url: 'https://github.com/opensearch/documentation'
|
||||||
|
-
|
||||||
|
title: FAQ
|
||||||
|
url: '/faq/'
|
||||||
|
-
|
||||||
|
title: 'Brand Guidelines'
|
||||||
|
url: '/brand.html'
|
||||||
|
-
|
||||||
|
title: 'Trademark Usage Policy'
|
||||||
|
url: '/trademark-usage.html'
|
||||||
|
-
|
||||||
|
title: OpenSearch Disambiguation
|
||||||
|
url: '/disambiguation.html'
|
||||||
|
-
|
||||||
|
title: 'Connect'
|
||||||
|
links:
|
||||||
|
# -
|
||||||
|
# title: 'Twitter'
|
||||||
|
# url: 'https://twitter.com/opensearch_project'
|
||||||
|
#-
|
||||||
|
# title: 'Facebook'
|
||||||
|
# url: 'http://www.facebook.com/opensearch'
|
||||||
|
-
|
||||||
|
title: 'E-mail'
|
||||||
|
url: 'mailto:[email protected]'
|
||||||
@@ -160,6 +160,10 @@ POST _plugins/_ism/add/index_1
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
If you use a wildcard `*` while adding a policy to an index, the ISM plugin interprets `*` as all indices, including system indices like `.opendistro-security`, which stores users, roles, and tenants. A delete action in your policy might accidentally delete all user roles and tenants in your cluster.
|
||||||
|
Don't use the broad `*` wildcard, and instead add a prefix, such as `my-logs*`, when specifying indices with the `_ism/add` API.
|
||||||
|
{: .warning }
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -0,0 +1,45 @@
|
|||||||
|
|
||||||
|
<div role="contentinfo">
|
||||||
|
<div class="subfooter">
|
||||||
|
<div class="container">
|
||||||
|
<h1 class="visuallyhidden">OpenSearch Links</h1>
|
||||||
|
|
||||||
|
{% for column in site.data.footer.columns %}
|
||||||
|
<div class="col {% if forloop.index > 2 %}last-child{% endif %}">
|
||||||
|
|
||||||
|
<h2>{{ column.title }}</h2>
|
||||||
|
<ul>
|
||||||
|
{% for link in column.links %}
|
||||||
|
<li><a href="{{ link.url }}">{{ link.title}}</a></li>
|
||||||
|
{% endfor %}
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
{% endfor %}
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="footer">
|
||||||
|
<div class="container">
|
||||||
|
|
||||||
|
<a href="{{ '/' | relative_url }}"><svg viewBox="0 0 64 64" fill="currentColor" xmlns="http://www.w3.org/2000/svg">
|
||||||
|
<path d="M61.7374 23.5C60.4878 23.5 59.4748 24.513 59.4748 25.7626C59.4748 44.3813 44.3813 59.4748 25.7626 59.4748C24.513 59.4748 23.5 60.4878 23.5 61.7374C23.5 62.987 24.513 64 25.7626 64C46.8805 64 64 46.8805 64 25.7626C64 24.513 62.987 23.5 61.7374 23.5Z" fill="currentColor" />
|
||||||
|
<path d="M48.0814 38C50.2572 34.4505 52.3615 29.7178 51.9475 23.0921C51.0899 9.36725 38.6589 -1.04463 26.9206 0.0837327C22.3253 0.525465 17.6068 4.2712 18.026 10.9805C18.2082 13.8961 19.6352 15.6169 21.9544 16.9399C24.1618 18.1992 26.9978 18.9969 30.2128 19.9011C34.0962 20.9934 38.6009 22.2203 42.063 24.7717C46.2125 27.8295 49.0491 31.3743 48.0814 38Z" fill="currentColor" />
|
||||||
|
<path d="M3.91861 14C1.74276 17.5495 -0.361506 22.2822 0.0524931 28.9079C0.910072 42.6327 13.3411 53.0446 25.0794 51.9163C29.6747 51.4745 34.3932 47.7288 33.974 41.0195C33.7918 38.1039 32.3647 36.3831 30.0456 35.0601C27.8382 33.8008 25.0022 33.0031 21.7872 32.0989C17.9038 31.0066 13.3991 29.7797 9.93694 27.2283C5.78746 24.1704 2.95092 20.6257 3.91861 14Z" fill="currentColor" />
|
||||||
|
</svg></a>
|
||||||
|
|
||||||
|
<p class="copyright">© {{ 'now' | date: "%Y" }}
|
||||||
|
<a href="https://aws.amazon.com/"> Amazon Web Services</a> and individual contributors. OpenSearch is a
|
||||||
|
<a href="/trademark-usage.html">registered trademark</a> of Amazon Web Services.</a> <br /><br />
|
||||||
|
|
||||||
|
© 2005-2021
|
||||||
|
<a href="https://www.djangoproject.com/foundation/"> Django Software
|
||||||
|
Foundation</a> and individual contributors. Django is a
|
||||||
|
<a href="https://www.djangoproject.com/trademarks/">registered
|
||||||
|
trademark</a> of the Django Software Foundation.<br />
|
||||||
|
This website was forked from the BSD-licensed <a href="https://github.com/django/djangoproject.com/">djangoproject.com</a> originally designed by <a href="https://www.threespot.com">Threespot</a> <span class="ampersand">&</span> <a href="http://andrevv.com/">andrevv</a>.<br /> We ♡ Django and the Django community. If you need a <a href="https://www.djangoproject.com/">high-level Python framework</a>, check it out.
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
File diff suppressed because one or more lines are too long
@@ -0,0 +1,7 @@
|
|||||||
|
<li>
|
||||||
|
{% if url_full == include.url_full %} {{ include.text }} {% else %}
|
||||||
|
<a href="{{ include.href }}" {% if url_parts[1] == {{include.url_fragment}} %} class="in-category" {% endif %}>
|
||||||
|
{{ include.text }}
|
||||||
|
</a>
|
||||||
|
{% endif %}
|
||||||
|
</li>
|
||||||
+150
-153
File diff suppressed because it is too large
Load Diff
@@ -17,13 +17,13 @@ A typical workflow to manage time-series data is as follows:
|
|||||||
- To split your data into an index for each day, use the rollover operation.
|
- To split your data into an index for each day, use the rollover operation.
|
||||||
- To perform searches on a virtual index name that gets expanded to the underlying indices, create an [index alias]({{site.url}}{{site.baseurl}}/opensearch/index-alias/).
|
- To perform searches on a virtual index name that gets expanded to the underlying indices, create an [index alias]({{site.url}}{{site.baseurl}}/opensearch/index-alias/).
|
||||||
- To perform a write operation on an index alias, configure the latest index as the write index.
|
- To perform a write operation on an index alias, configure the latest index as the write index.
|
||||||
- To configure new indices, extract common mappings and settings into an [index template]({{site.url}}{{site.baseurl}}/opensearch/index-templates/)).
|
- To configure new indices, extract common mappings and settings into an [index template]({{site.url}}{{site.baseurl}}/opensearch/index-templates/).
|
||||||
|
|
||||||
Even after you perform all these operations, you’re still not enforcing the best practices when dealing with time-series data. For example, you can modify the indices directly. You’re able to ingest documents without a timestamp field, which might result in slower queries.
|
Even after you perform all these operations, you’re still not enforcing the best practices when dealing with time-series data. For example, you can modify the indices directly. You’re able to ingest documents without a timestamp field, which might result in slower queries.
|
||||||
|
|
||||||
Data streams abstract the complexity and enforce the best practices for managing time-series data.
|
Data streams abstract the complexity and enforce the best practices for managing time-series data.
|
||||||
|
|
||||||
With data streams, you can store append-only time-series data across multiple indices with a single endpoint for ingesting and searching data. It replaces index aliases for time-series data.
|
With data streams, you can store append-only time-series data across multiple indices with a single endpoint for ingesting and searching data. We recommend using data streams in place of index aliases for time-series data.
|
||||||
|
|
||||||
## About data streams
|
## About data streams
|
||||||
|
|
||||||
|
|||||||
@@ -29,6 +29,23 @@ If you don't want to use the all-in-one OpenSearch installation options, you can
|
|||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
|
<tr>
|
||||||
|
<td>1.0.0</td>
|
||||||
|
<td>
|
||||||
|
<pre>opensearch-alerting 1.0.0.0
|
||||||
|
opensearch-anomaly-detection 1.0.0.0
|
||||||
|
opensearch-asynchronous-search 1.0.0.0
|
||||||
|
opensearch-index-management 1.0.0.0
|
||||||
|
opensearch-job-scheduler 1.0.0.0
|
||||||
|
opensearch-knn 1.0.0.0
|
||||||
|
opensearch-notebooks 1.0.0.0
|
||||||
|
opensearch-performance-analyzer 1.0.0.0
|
||||||
|
opensearch-reports-scheduler 1.0.0.0
|
||||||
|
opensearch-security 1.0.0.0
|
||||||
|
opensearch-sql 1.0.0.0
|
||||||
|
</pre>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>1.0.0-rc1</td>
|
<td>1.0.0-rc1</td>
|
||||||
<td>
|
<td>
|
||||||
|
|||||||
@@ -0,0 +1,72 @@
|
|||||||
|
---
|
||||||
|
layout: default
|
||||||
|
title: Delete document
|
||||||
|
parent: Document APIs
|
||||||
|
nav_order: 10
|
||||||
|
---
|
||||||
|
|
||||||
|
# Get document
|
||||||
|
|
||||||
|
If you no longer need a document in your index, you can use the delete document API operation to delete it.
|
||||||
|
|
||||||
|
## Example
|
||||||
|
|
||||||
|
```
|
||||||
|
DELETE /sample-index1/_doc/1
|
||||||
|
```
|
||||||
|
|
||||||
|
## Path and HTTP methods
|
||||||
|
|
||||||
|
```
|
||||||
|
DELETE /<index-name>/_doc/<_id>
|
||||||
|
```
|
||||||
|
|
||||||
|
## URL parameters
|
||||||
|
|
||||||
|
Parameter | Type | Description | Required
|
||||||
|
:--- | :--- | :--- | :---
|
||||||
|
<index-name> | String | The index to delete from. | Yes
|
||||||
|
<_id> | String | The ID of the document to delete. | Yes
|
||||||
|
if_seq_no | Integer | Only perform the delete operation if the document's version number matches the specified number. | No
|
||||||
|
if_primary_term | Integer | Only perform the delete operation if the document has the specified primary term. | No
|
||||||
|
refresh | Enum | If true, OpenSearch refreshes shards to make the operation visible to searching. Valid options are `true`, `false`, and `wait_for`, which tells OpenSearch to wait for a refresh before executing the operation. Default is false. | No
|
||||||
|
routing | String | Value used to route the operation to a specific shard. | No
|
||||||
|
timeout | Time | How long to wait for a response from the cluster. | No
|
||||||
|
version | Integer | The version of the document to delete, which must match the last updated version of the document. | No
|
||||||
|
version_type | Enum | Retrieves a specifically typed document. Available options are `external` (retrieve the document if the specified version number is greater than the document's current version) and `external_gte` (retrieve the document if the specified version number is greater than or equal to the document's current version). For example, to delete version 3 of a document, use `/_doc/1?version=3&version_type=external`. | No
|
||||||
|
wait_for_active_shards | String | The number of active shards that must be available before OpenSearch processes the delete request. Default is 1 (only the primary shard). Set to `all` or a positive integer. Values greater than 1 require replicas. For example, if you specify a value of 3, the index must have two replicas distributed across two additional nodes for the operation to succeed. | No
|
||||||
|
|
||||||
|
|
||||||
|
## Response
|
||||||
|
```json
|
||||||
|
{
|
||||||
|
"_index": "sample-index1",
|
||||||
|
"_type": "_doc",
|
||||||
|
"_id": "1",
|
||||||
|
"_version": 2,
|
||||||
|
"result": "deleted",
|
||||||
|
"_shards": {
|
||||||
|
"total": 2,
|
||||||
|
"successful": 2,
|
||||||
|
"failed": 0
|
||||||
|
},
|
||||||
|
"_seq_no": 1,
|
||||||
|
"_primary_term": 15
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
## Response body fields
|
||||||
|
|
||||||
|
Field | Description
|
||||||
|
:--- | :---
|
||||||
|
_index | The name of the index.
|
||||||
|
_type | The document's type. OpenSearch only supports one type, which is `_doc`.
|
||||||
|
_id | The document's ID.
|
||||||
|
_version | The document's version.
|
||||||
|
_result | The result of the delete operation.
|
||||||
|
_shards | Detailed information about the cluster's shards.
|
||||||
|
total | The total number of shards.
|
||||||
|
successful | The number of shards OpenSearch succssfully deleted the document from.
|
||||||
|
failed | The number of shards OpenSearch failed to delete the document from.
|
||||||
|
_seq_no | The sequence number assigned when the document was indexed.
|
||||||
|
_primary_term | The primary term assigned when the document was indexed.
|
||||||
@@ -2,7 +2,6 @@
|
|||||||
layout: default
|
layout: default
|
||||||
title: Get document
|
title: Get document
|
||||||
parent: Document APIs
|
parent: Document APIs
|
||||||
grand_parent: REST API reference
|
|
||||||
nav_order: 5
|
nav_order: 5
|
||||||
---
|
---
|
||||||
|
|
||||||
@@ -33,16 +32,16 @@ All get document URL parameters are optional.
|
|||||||
|
|
||||||
Parameter | Type | Description
|
Parameter | Type | Description
|
||||||
:--- | :--- | :---
|
:--- | :--- | :---
|
||||||
preference | string | Specifies a preference of which shard to retrieve results from. Available options are `_local`, which tells the operation to retrieve results from a locally allocated shard replica, and a custom string value assigned to a specific shard replica. By default, OpenSearch executes get document operations on random shards.
|
preference | String | Specifies a preference of which shard to retrieve results from. Available options are `_local`, which tells the operation to retrieve results from a locally allocated shard replica, and a custom string value assigned to a specific shard replica. By default, OpenSearch executes get document operations on random shards.
|
||||||
realtime | boolean | Specifies whether the operation should run in realtime. If false, the operation waits for the index to refresh to analyze the source to retrieve data, which makes the operation near-realtime. Default is true.
|
realtime | Boolean | Specifies whether the operation should run in realtime. If false, the operation waits for the index to refresh to analyze the source to retrieve data, which makes the operation near-realtime. Default is true.
|
||||||
refresh | boolean | If true, OpenSearch refreshes shards to make the operation visible to searching. Default is false.
|
refresh | Boolean | If true, OpenSearch refreshes shards to make the operation visible to searching. Default is false.
|
||||||
routing | string | A value used to route the operation to a specific shard.
|
routing | String | A value used to route the operation to a specific shard.
|
||||||
stored_fields | boolean | If true, the operation retrieves document fields stored in the index rather than the document's `_source`. Default is false.
|
stored_fields | Boolean | If true, the operation retrieves document fields stored in the index rather than the document's `_source`. Default is false.
|
||||||
_source | string | Whether to include the `_source` field in the response body. Default is true.
|
_source | String | Whether to include the `_source` field in the response body. Default is true.
|
||||||
_source_excludes | string | A comma-separated list of source fields to exclude in the query response.
|
_source_excludes | String | A comma-separated list of source fields to exclude in the query response.
|
||||||
_source_includes | string | A comma-separated list of source fields to include in the query response.
|
_source_includes | String | A comma-separated list of source fields to include in the query response.
|
||||||
version | integer | The version of the document to return, which must match the current version of the document.
|
version | Integer | The version of the document to return, which must match the current version of the document.
|
||||||
version_type | enum | Retrieves a specifically typed document. Available options are `external` (retrieve the document if the specified version number is greater than the document's current version) and `external_gte` (retrieve the document if the specified version number is greater than or equal to the document's current verison). For example, to retrieve version 3 of a document, use `/_doc/1?version=3&version_type=external`.
|
version_type | Enum | Retrieves a specifically typed document. Available options are `external` (retrieve the document if the specified version number is greater than the document's current version) and `external_gte` (retrieve the document if the specified version number is greater than or equal to the document's current version). For example, to retrieve version 3 of a document, use `/_doc/1?version=3&version_type=external`.
|
||||||
|
|
||||||
|
|
||||||
## Response
|
## Response
|
||||||
@@ -67,7 +66,7 @@ Field | Description
|
|||||||
:--- | :---
|
:--- | :---
|
||||||
_index | The name of the index.
|
_index | The name of the index.
|
||||||
_type | The document's type. OpenSearch only supports one type, which is `_doc`.
|
_type | The document's type. OpenSearch only supports one type, which is `_doc`.
|
||||||
_id | The document's id.
|
_id | The document's ID.
|
||||||
_version | The document's version number. Updated whenever the document changes.
|
_version | The document's version number. Updated whenever the document changes.
|
||||||
_seq_no | The sequnce number assigned when the document is indexed.
|
_seq_no | The sequnce number assigned when the document is indexed.
|
||||||
primary_term | The primary term assigned when the document is indexed.
|
primary_term | The primary term assigned when the document is indexed.
|
||||||
|
|||||||
+875
-15
File diff suppressed because it is too large
Load Diff
@@ -8,9 +8,9 @@ redirect_from: /docs/sql/obdc/
|
|||||||
|
|
||||||
# ODBC driver
|
# ODBC driver
|
||||||
|
|
||||||
The Open Database Connectivity (ODBC) driver is a read-only ODBC driver for Windows and macOS that lets you connect business intelligence (BI) and data visualization applications like [Tableau](https://github.com/opensearch-project/sql/blob/develop/sql-odbc/docs/user/tableau_support.md), [Microsoft Excel](https://github.com/opensearch-project/sql/blob/develop/sql-odbc/docs/user/microsoft_excel_support.md), and [Power BI](https://github.com/opensearch-project/sql/blob/main/sql-odbc/docs/user/power_bi_support.md) to the SQL plugin.
|
The Open Database Connectivity (ODBC) driver is a read-only ODBC driver for Windows and macOS that lets you connect business intelligence (BI) and data visualization applications like [Tableau](https://github.com/opensearch-project/sql/blob/main/sql-odbc/docs/user/tableau_support.md), [Microsoft Excel](https://github.com/opensearch-project/sql/blob/main/sql-odbc/docs/user/microsoft_excel_support.md), and [Power BI](https://github.com/opensearch-project/sql/blob/main/sql-odbc/docs/user/power_bi_support.md) to the SQL plugin.
|
||||||
|
|
||||||
For information on downloading and using the JAR file, see [the SQL repository on GitHub](https://github.com/opensearch-project/sql/tree/master/sql-odbc).
|
For information on downloading and using the JAR file, see [the SQL repository on GitHub](https://github.com/opensearch-project/sql/tree/main/sql-odbc).
|
||||||
|
|
||||||
{% comment %}
|
{% comment %}
|
||||||
|
|
||||||
|
|||||||
@@ -38,7 +38,7 @@ If you disable the security plugin in `opensearch.yml` (or delete the plugin ent
|
|||||||
|
|
||||||
```
|
```
|
||||||
FROM opensearchproject/opensearch-dashboards:{{site.opensearch_version}}
|
FROM opensearchproject/opensearch-dashboards:{{site.opensearch_version}}
|
||||||
RUN /usr/share/opensearch-dashboards/bin/opensearch-dashboards-plugin remove security-dashboards
|
RUN /usr/share/opensearch-dashboards/bin/opensearch-dashboards-plugin remove securityDashboards
|
||||||
COPY --chown=opensearch-dashboards:opensearch-dashboards opensearch_dashboards.yml /usr/share/opensearch-dashboards/config/
|
COPY --chown=opensearch-dashboards:opensearch-dashboards opensearch_dashboards.yml /usr/share/opensearch-dashboards/config/
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
@@ -77,9 +77,9 @@ jwks_uri: "https://keycloak.example.com:8080/auth/realms/master/protocol/openid-
|
|||||||
```
|
```
|
||||||
|
|
||||||
```
|
```
|
||||||
{
|
{
|
||||||
keys:[
|
keys:[
|
||||||
{
|
{
|
||||||
kid:"V-diposfUJIk5jDBFi_QRouiVinG5PowskcSWy5EuCo",
|
kid:"V-diposfUJIk5jDBFi_QRouiVinG5PowskcSWy5EuCo",
|
||||||
kty:"RSA",
|
kty:"RSA",
|
||||||
alg:"RS256",
|
alg:"RS256",
|
||||||
@@ -148,8 +148,9 @@ Use the following parameters to enable TLS for connecting to your IdP:
|
|||||||
|
|
||||||
```yml
|
```yml
|
||||||
config:
|
config:
|
||||||
enable_ssl: <true|false>
|
openid_connect_idp:
|
||||||
verify_hostnames: <true|false>
|
enable_ssl: <true|false>
|
||||||
|
verify_hostnames: <true|false>
|
||||||
```
|
```
|
||||||
|
|
||||||
Name | Description
|
Name | Description
|
||||||
@@ -164,16 +165,20 @@ To validate the TLS certificate of your IdP, configure either the path to the Id
|
|||||||
|
|
||||||
```yml
|
```yml
|
||||||
config:
|
config:
|
||||||
pemtrustedcas_filepath: /path/to/trusted_cas.pem
|
openid_connect_idp:
|
||||||
|
enable_ssl: true
|
||||||
|
pemtrustedcas_filepath: /full/path/to/trusted_cas.pem
|
||||||
```
|
```
|
||||||
|
|
||||||
```yml
|
```yml
|
||||||
config:
|
config:
|
||||||
pemtrustedcas_content: |-
|
openid_connect_idp:
|
||||||
MIID/jCCAuagAwIBAgIBATANBgkqhkiG9w0BAQUFADCBjzETMBEGCgmSJomT8ixk
|
enable_ssl: true
|
||||||
ARkWA2NvbTEXMBUGCgmSJomT8ixkARkWB2V4YW1wbGUxGTAXBgNVBAoMEEV4YW1w
|
pemtrustedcas_content: |-
|
||||||
bGUgQ29tIEluYy4xITAfBgNVBAsMGEV4YW1wbGUgQ29tIEluYy4gUm9vdCBDQTEh
|
MIID/jCCAuagAwIBAgIBATANBgkqhkiG9w0BAQUFADCBjzETMBEGCgmSJomT8ixk
|
||||||
...
|
ARkWA2NvbTEXMBUGCgmSJomT8ixkARkWB2V4YW1wbGUxGTAXBgNVBAoMEEV4YW1w
|
||||||
|
bGUgQ29tIEluYy4xITAfBgNVBAsMGEV4YW1wbGUgQ29tIEluYy4gUm9vdCBDQTEh
|
||||||
|
...
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
@@ -189,23 +194,27 @@ To use TLS client authentication, configure the PEM certificate and private key
|
|||||||
|
|
||||||
```yml
|
```yml
|
||||||
config:
|
config:
|
||||||
pemkey_filepath: /path/to/private.key.pem
|
openid_connect_idp:
|
||||||
pemkey_password: private_key_password
|
enable_ssl: true
|
||||||
pemcert_filepath: /path/to/certificate.pem
|
pemkey_filepath: /full/path/to/private.key.pem
|
||||||
|
pemkey_password: private_key_password
|
||||||
|
pemcert_filepath: /full/path/to/certificate.pem
|
||||||
```
|
```
|
||||||
|
|
||||||
```yml
|
```yml
|
||||||
config:
|
config:
|
||||||
pemkey_content: |-
|
openid_connect_idp:
|
||||||
MIID2jCCAsKgAwIBAgIBBTANBgkqhkiG9w0BAQUFADCBlTETMBEGCgmSJomT8ixk
|
enable_ssl: true
|
||||||
ARkWA2NvbTEXMBUGCgmSJomT8ixkARkWB2V4YW1wbGUxGTAXBgNVBAoMEEV4YW1w
|
pemkey_content: |-
|
||||||
bGUgQ29tIEluYy4xJDAiBgNVBAsMG0V4YW1wbGUgQ29tIEluYy4gU2lnbmluZyBD
|
MIID2jCCAsKgAwIBAgIBBTANBgkqhkiG9w0BAQUFADCBlTETMBEGCgmSJomT8ixk
|
||||||
|
ARkWA2NvbTEXMBUGCgmSJomT8ixkARkWB2V4YW1wbGUxGTAXBgNVBAoMEEV4YW1w
|
||||||
|
bGUgQ29tIEluYy4xJDAiBgNVBAsMG0V4YW1wbGUgQ29tIEluYy4gU2lnbmluZyBD
|
||||||
...
|
...
|
||||||
pemkey_password: private_key_password
|
pemkey_password: private_key_password
|
||||||
pemcert_content: |-
|
pemcert_content: |-
|
||||||
MIIEvQIBADANBgkqhkiG9w0BAQEFAASCBKcwggSjAgEAAoIBAQCHRZwzwGlP2FvL
|
MIIEvQIBADANBgkqhkiG9w0BAQEFAASCBKcwggSjAgEAAoIBAQCHRZwzwGlP2FvL
|
||||||
oEzNeDu2XnOF+ram7rWPT6fxI+JJr3SDz1mSzixTeHq82P5A7RLdMULfQFMfQPfr
|
oEzNeDu2XnOF+ram7rWPT6fxI+JJr3SDz1mSzixTeHq82P5A7RLdMULfQFMfQPfr
|
||||||
WXgB4qfisuDSt+CPocZRfUqqhGlMG2l8LgJMr58tn0AHvauvNTeiGlyXy0ShxHbD
|
WXgB4qfisuDSt+CPocZRfUqqhGlMG2l8LgJMr58tn0AHvauvNTeiGlyXy0ShxHbD
|
||||||
...
|
...
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
@@ -15,6 +15,8 @@ Consider exporting all Kibana objects prior to starting the upgrade. In Kibana,
|
|||||||
|
|
||||||
1. After you upgrade your Elasticsearch OSS cluster to OpenSearch, stop Kibana.
|
1. After you upgrade your Elasticsearch OSS cluster to OpenSearch, stop Kibana.
|
||||||
|
|
||||||
|
1. For safety, make a backup copy of `<kibana-dir>/config/kibana.yml`.
|
||||||
|
|
||||||
1. Extract the OpenSearch Dashboards tarball to a new directory.
|
1. Extract the OpenSearch Dashboards tarball to a new directory.
|
||||||
|
|
||||||
1. Port your settings from `<kibana-dir>/config/kibana.yml` to `<dashboards-dir>/config/opensearch_dashboards.yml`.
|
1. Port your settings from `<kibana-dir>/config/kibana.yml` to `<dashboards-dir>/config/opensearch_dashboards.yml`.
|
||||||
|
|||||||
@@ -18,4 +18,5 @@ Three approaches exist:
|
|||||||
- Replace existing Elasticsearch OSS nodes with new OpenSearch nodes. Node replacement is most popular when upgrading [Docker clusters]({{site.url}}{{site.baseurl}}/upgrade-to/docker-upgrade-to/).
|
- Replace existing Elasticsearch OSS nodes with new OpenSearch nodes. Node replacement is most popular when upgrading [Docker clusters]({{site.url}}{{site.baseurl}}/upgrade-to/docker-upgrade-to/).
|
||||||
|
|
||||||
Regardless of your approach, to safeguard against data loss, we recommend that you take a [snapshot]({{site.url}}{{site.baseurl}}/opensearch/snapshot-restore/) of all indices prior to any migration.
|
Regardless of your approach, to safeguard against data loss, we recommend that you take a [snapshot]({{site.url}}{{site.baseurl}}/opensearch/snapshot-restore/) of all indices prior to any migration.
|
||||||
{: .tip }
|
|
||||||
|
If your existing clients include a version check, such as recent versions of Logstash OSS and Filebeat OSS, [check compatibility]({{site.url}}{{site.baseurl}}/clients/agents-and-ingestion-tools/index/) before upgrading.
|
||||||
|
|||||||
@@ -29,6 +29,9 @@ Elasticsearch OSS version | Rolling upgrade path | Cluster restart upgrade path
|
|||||||
6.x | Upgrade to 6.8, upgrade to 7.10.2, and upgrade to OpenSearch. | Upgrade to OpenSearch.
|
6.x | Upgrade to 6.8, upgrade to 7.10.2, and upgrade to OpenSearch. | Upgrade to OpenSearch.
|
||||||
7.x | Upgrade to OpenSearch. | Upgrade to OpenSearch.
|
7.x | Upgrade to OpenSearch. | Upgrade to OpenSearch.
|
||||||
|
|
||||||
|
If you are upgrading an Open Distro for Elasticsearch cluster, we recommend first upgrading to ODFE 1.13 and then upgrading to OpenSearch.
|
||||||
|
{: .note }
|
||||||
|
|
||||||
|
|
||||||
## Upgrade Elasticsearch OSS
|
## Upgrade Elasticsearch OSS
|
||||||
|
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user