本文档是针对 OpenSearch 的简体中文本地化仓库。包括有 OpenSearch 引擎以及相关的一些插件。仓库中的内容是从官方 GitHub 代码库中 Fork 下来后进行编译和修改的。
Go to file
Caroline 86385d4932
Add Peer Forwarder to doc website repo (#2373)
* Add Peer forwarder to doc site repo.

Signed-off-by: carolxob <carolxob@amazon.com>

* Minor updates.

Signed-off-by: carolxob <carolxob@amazon.com>

* Minor updates to header section.

Signed-off-by: carolxob <carolxob@amazon.com>

* Minor copyedits and heading adjustements.

Signed-off-by: carolxob <carolxob@amazon.com>

* Minor copyedits and heading updates. Additional of Optional section to simplify wording.

Signed-off-by: carolxob <carolxob@amazon.com>

* Minor copyedits and heading adjustments.

Signed-off-by: carolxob <carolxob@amazon.com>

* Changed capitalization in title.

Signed-off-by: carolxob <carolxob@amazon.com>

* Minor changes from doc review feedback.

Signed-off-by: carolxob <carolxob@amazon.com>

* Update _data-prepper/peer-forwarder.md

Co-authored-by: Aria Marble <111301581+ariamarble@users.noreply.github.com>

* Update _data-prepper/peer-forwarder.md

Co-authored-by: Aria Marble <111301581+ariamarble@users.noreply.github.com>

* Update _data-prepper/peer-forwarder.md

Co-authored-by: Aria Marble <111301581+ariamarble@users.noreply.github.com>

* Update _data-prepper/peer-forwarder.md

Co-authored-by: Aria Marble <111301581+ariamarble@users.noreply.github.com>

* Update _data-prepper/peer-forwarder.md

Co-authored-by: Aria Marble <111301581+ariamarble@users.noreply.github.com>

* Update _data-prepper/peer-forwarder.md

Co-authored-by: Aria Marble <111301581+ariamarble@users.noreply.github.com>

* Trying to commit file.

Signed-off-by: carolxob <carolxob@amazon.com>

* Trying to push file.

Signed-off-by: carolxob <carolxob@amazon.com>

* Trying to push file again.

Signed-off-by: carolxob <carolxob@amazon.com>

* Trying to push file one more time after rebasing.

Signed-off-by: carolxob <carolxob@amazon.com>

* Minor change.

Signed-off-by: carolxob <carolxob@amazon.com>

* Minor edits.

Signed-off-by: carolxob <carolxob@amazon.com>

* Converted optional configuration section to table.

Signed-off-by: carolxob <carolxob@amazon.com>

* Minor adjustmenets.

Signed-off-by: carolxob <carolxob@amazon.com>

* Minor adjustments again.

Signed-off-by: carolxob <carolxob@amazon.com>

* Updates from doc review feedback.

Signed-off-by: carolxob <carolxob@amazon.com>

* Made changes based on doc review feedback.

Signed-off-by: carolxob <carolxob@amazon.com>

* Made minor heading adjustements.

Signed-off-by: carolxob <carolxob@amazon.com>

* Made edits based on doc review feedback.

Signed-off-by: carolxob <carolxob@amazon.com>

* Made updates based on editorial feedback.

Signed-off-by: carolxob <carolxob@amazon.com>

* Made extensive changes based on editorial feedback.

Signed-off-by: carolxob <carolxob@amazon.com>

* Incorporated minor editorial feedback changes.

Signed-off-by: carolxob <carolxob@amazon.com>

* Incorporated more editorial feedback.

Signed-off-by: carolxob <carolxob@amazon.com>

* Minor changes.

Signed-off-by: carolxob <carolxob@amazon.com>

* Committed existing Peer Forwarder file to new PR to simplify feedback.

Signed-off-by: carolxob <carolxob@amazon.com>

* Incorporated doc review feedback.

Signed-off-by: carolxob <carolxob@amazon.com>

* Minor updates.

Signed-off-by: carolxob <carolxob@amazon.com>

* Minor changes.

Signed-off-by: carolxob <carolxob@amazon.com>

* Updates specifically to table formatting.

Signed-off-by: carolxob <carolxob@amazon.com>

* Minor updates.

Signed-off-by: carolxob <carolxob@amazon.com>

* Made minor edit to the end of the Configuration table.

Signed-off-by: carolxob <carolxob@amazon.com>

* Minor edits from doc review feedback.

Signed-off-by: carolxob <carolxob@amazon.com>

* Minor updates from doc review.

Signed-off-by: carolxob <carolxob@amazon.com>

* Incorporated more editorial feedback.

Signed-off-by: carolxob <carolxob@amazon.com>

* Minor update to line 112.

Signed-off-by: carolxob <carolxob@amazon.com>

* Made minor edits to references to S3. Changed to Amazon S3 where applicable.

Signed-off-by: carolxob <carolxob@amazon.com>

* Minor edits.

Signed-off-by: carolxob <carolxob@amazon.com>

* Minor updates to text.

Signed-off-by: carolxob <carolxob@amazon.com>

* Made updates based on SME and doc review feedback.

Signed-off-by: carolxob <carolxob@amazon.com>

* Minor change to one word.

Signed-off-by: carolxob <carolxob@amazon.com>

* Removed a comma.

Signed-off-by: carolxob <carolxob@amazon.com>

---------

Signed-off-by: carolxob <carolxob@amazon.com>
Co-authored-by: Aria Marble <111301581+ariamarble@users.noreply.github.com>
2023-02-03 12:38:53 -07:00
.github Removes the local DCO action, adds a custom PR template, configures the inherited DCO action (#1317) 2022-09-26 17:41:45 -07:00
_api-reference Add redirects for recent TOC changes (#2577) 2023-02-02 17:48:13 -06:00
_clients Adds warning to Java high-level REST client (#2557) 2023-02-02 20:28:00 -05:00
_dashboards Add redirects for recent TOC changes (#2577) 2023-02-02 17:48:13 -06:00
_data Adds 2.5.0 version (#2436) 2023-01-24 14:16:48 -05:00
_data-prepper Add Peer Forwarder to doc website repo (#2373) 2023-02-03 12:38:53 -07:00
_external_links Update external link to Dashboards developer guide 2021-08-27 12:46:55 -07:00
_im-plugin Reorganize Configuration section of the Security TOC (#2212) 2023-01-27 10:12:47 -08:00
_includes Adds feedback mechanism and more site visual improvements (#2259) 2022-12-19 14:41:42 -05:00
_install-and-configure fix#2155-Sec-TOC-docker-link (#2580) 2023-02-02 12:18:05 -08:00
_job-scheduler-plugin Adds documentation for Job Scheduler plugin (#2242) 2023-01-05 08:24:24 -08:00
_layouts Updates site UI changes (#2264) 2022-12-27 11:45:32 -05:00
_ml-commons-plugin Add warning about regex experession in ML (#2536) 2023-02-01 09:36:02 -06:00
_monitoring-plugins Reorganize Configuration section of the Security TOC (#2212) 2023-01-27 10:12:47 -08:00
_neural-search-plugin Fix typo in Neural Search (#2468) 2023-01-24 12:46:14 -06:00
_notifications-plugin Puts column headers in sentence case (#1989) 2022-11-18 15:25:06 -05:00
_observability-plugin Reorganize Configuration section of the Security TOC (#2212) 2023-01-27 10:12:47 -08:00
_opensearch Adds copy buttons to API and field type sections (#2518) 2023-01-30 17:09:38 -05:00
_plugins Improve logging of the link checker (#1252) 2022-09-19 11:55:18 -07:00
_replication-plugin Reorganize Configuration section of the Security TOC (#2212) 2023-01-27 10:12:47 -08:00
_sass Makes version selector sticky (#2492) 2023-01-26 11:15:34 -05:00
_search-plugins Reorganize Configuration section of the Security TOC (#2212) 2023-01-27 10:12:47 -08:00
_security Add redirects for recent TOC changes (#2577) 2023-02-02 17:48:13 -06:00
_security-analytics fix#2400-new-forum-link (#2568) 2023-02-02 08:22:18 -08:00
_tools Fix links for 2.5 doc changes. (#2465) 2023-01-24 12:12:21 -06:00
_troubleshoot Reorganize Configuration section of the Security TOC (#2212) 2023-01-27 10:12:47 -08:00
_upgrade-to cluster.initial_master_nodes is no longer present in the documentation. It was replaced with cluster.initial_cluster_manager_nodes. (#2020) 2022-11-23 15:59:15 -06:00
assets Scroll to top when last visit was more than 24 hours ago (#2457) 2023-01-26 11:14:26 -05:00
images [DOC] Create Dashboards quickstart (#2409) 2023-02-02 09:52:20 -07:00
release-notes Rewords release notes header (#2470) 2023-01-24 15:53:07 -05:00
.gitignore Add SSL configuration for Dashboards 2021-07-09 15:33:35 -07:00
404.md Initial documentation cut 2021-05-05 10:09:47 -07:00
CNAME Create CNAME 2021-05-07 12:13:42 -07:00
CODE_OF_CONDUCT.md Initial commit 2021-05-03 10:11:12 -07:00
CONTRIBUTING.md Updated contribution.md file with DCO info & updated process (#689) 2022-06-22 12:43:07 -05:00
Gemfile Add home page and experimental features section (#1146) 2022-09-14 12:27:15 -05:00
LICENSE Initial commit 2021-05-03 10:11:12 -07:00
MAINTAINERS.md Updated MAINTAINERS.md to match recommended opensearch-project format. (#2339) 2023-01-10 13:09:44 -06:00
NOTICE Remove year from copyright 2021-08-09 15:53:52 -07:00
README.md Reorganize Configuration section of the Security TOC (#2212) 2023-01-27 10:12:47 -08:00
STYLE_API_TEMPLATE.md Puts column headers in sentence case (#1989) 2022-11-18 15:25:06 -05:00
STYLE_GUIDE.md Adjusts list (#2622) 2023-02-03 11:59:52 -05:00
TERMS.md Adjusts spacing (#2496) 2023-01-25 14:18:52 -05:00
THIRD-PARTY Initial documentation cut 2021-05-05 10:09:47 -07:00
_config.yml Reorganize Configuration section of the Security TOC (#2212) 2023-01-27 10:12:47 -08:00
about.md Create OpenSearch documentation main section (#2080) 2022-12-01 16:25:02 -06:00
breaking-changes.md Create OpenSearch documentation main section (#2080) 2022-12-01 16:25:02 -06:00
build.sh Changed from 644 to 755 perm (#1441) 2022-10-05 10:29:28 -07:00
check-links.sh No more relative links 2021-06-09 19:15:41 -07:00
favicon.ico Initial documentation cut 2021-05-05 10:09:47 -07:00
favicon.png Initial documentation cut 2021-05-05 10:09:47 -07:00
favicon.svg Initial documentation cut 2021-05-05 10:09:47 -07:00
index.md Reorganize Configuration section of the Security TOC (#2212) 2023-01-27 10:12:47 -08:00
quickstart.md Reorganize Configuration section of the Security TOC (#2212) 2023-01-27 10:12:47 -08:00
version-history.md Adds 1.3.8 to version history (#2571) 2023-02-02 16:01:55 -05:00

README.md

About the OpenSearch documentation repo

The documentation 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.

How you can help

Community contributions remain essential in keeping this documentation comprehensive, useful, well-organized, and up-to-date. If you are interested in contributing, please see the Contribution file.

Points of contact

If you encounter problems or have questions when contributing to the documentation, these people can help:

How the website works

This repository contains Markdown files organized into Jekyll "collections" (e.g., _search-plugins, _opensearch, etc.). Each Markdown file correlates with one page on the website.

Using plain text on GitHub has many advantages:

  • Everything is free, open source, and works on every operating system. Use your favorite text editor, Ruby, Jekyll, and Git.
  • Markdown is easy to learn and looks good in side-by-side diffs.
  • The workflow is no different than contributing code. Make your changes, build locally to check your work, and submit a pull request. Reviewers check the PR before merging.
  • Alternatives like wikis and WordPress are full web applications that require databases and ongoing maintenance. They also have inferior versioning and content review processes compared to Git. Static websites, such as the ones Jekyll produces, are faster, more secure, and more stable.

In addition to the content for a given page, each Markdown file contains some Jekyll front matter. Front matter looks like this:

---
layout: default
title: Alerting security
nav_order: 10
parent: Alerting
has_children: false
---

If you want to reorganize content or add new pages, keep an eye on has_children, parent, and nav_order, which define the hierarchy and order of pages in the lefthand navigation. For more information, see the documentation for our upstream Jekyll theme.

Contribute content

There are a few ways to contribute content, depending on the magnitude of the change.

Minor changes

If you want to add a few paragraphs across multiple files and are comfortable with Git, try this approach:

  1. Fork this repository.

  2. Download GitHub Desktop, install it, and clone your fork.

  3. Navigate to the repository root.

  4. Create a new branch.

  5. Edit the Markdown files in /docs.

  6. Commit, sign off, push your changes to your fork, and submit a pull request.

Major changes

If you're making major changes to the documentation and need to see the rendered HTML before submitting a pull request, here's how to make the changes and view them locally:

  1. Fork this repository.

  2. Download GitHub Desktop, install it, and clone your fork.

  3. Navigate to the repository root.

  4. Install Ruby if you don't already have it. We recommend RVM, but use whatever method you prefer:

    curl -sSL https://get.rvm.io | bash -s stable
    rvm install 2.6
    ruby -v
    
  5. Install Jekyll if you don't already have it:

    gem install bundler jekyll
    
  6. Install dependencies:

    bundle install
    
  7. Build:

    sh build.sh    
    
  8. If the build script doesn't automatically open your web browser (it should), open http://localhost:4000/docs/.

  9. Create a new branch.

  10. Edit the Markdown files in each collection (e.g. _security/).

    If you're a web developer, you can customize _layouts/default.html and _sass/custom/custom.scss.

  11. When you save a file, marvel as Jekyll automatically rebuilds the site and refreshes your web browser. This process can take anywhere from 10-30 seconds.

  12. When you're happy with how everything looks, commit, sign off, push your changes to your fork, and submit a pull request.

Writing tips

The OpenSearch team released style guidelines for our documentation and marketing content. These guidelines cover the style standards and terms to be observed when creating OpenSearch content. We ask that you please adhere to these guidelines whenever contributing content.

We also provide guidelines on terminology. For a list of OpenSearch terms, see Terms.

Classes within Markdown

This documentation uses a modified version of the just-the-docs Jekyll theme, which has some useful classes for labels and buttons:

[Get started](#get-started){: .btn .btn-blue }

## Get started
New
{: .label .label-green }
  • Labels come in default (blue), green, purple, yellow, and red.
  • Buttons come in default, purple, blue, green, and outline.
  • Warning, tip, and note blocks are available ({: .warning }, etc.).
  • If an image has a white background, you can use {: .img-border } to add a one pixel border to the image.

These classes can help with readability, but should be used sparingly. Each addition of a class damages the portability of the Markdown files and makes moving to a different Jekyll theme (or a different static site generator) more difficult.

Besides, standard Markdown elements suffice for most documentation.

Labels for APIs

Each API operation has a label indicating when it was introduced. For most operations, this label is 1.0:

## Get roles
Introduced 1.0
{: .label .label-purple }

If we introduce a breaking change to an operation, add an additional label with a link to the release note for that breaking change:

## Get roles
Introduced 1.0
{: .label .label-purple }
[Last breaking change 2.0](https://example.com)
{: .label .label-red }

Math

If you want to use the sorts of pretty formulas that MathJax allows, add has_math: true to the Jekyll page metadata. Then insert LaTeX math into HTML tags with the rest of your Markdown content:

## Math

Some Markdown paragraph. Here's a formula:

<p>
  When \(a \ne 0\), there are two solutions to \(ax^2 + bx + c = 0\) and they are
  \[x = {-b \pm \sqrt{b^2-4ac} \over 2a}.\]
</p>

And back to Markdown.

Code of conduct

This project has adopted an Open Source Code of Conduct.

Security

See CONTRIBUTING for more information.

License

This project is licensed under the Apache-2.0 License.

Copyright OpenSearch contributors.