Skip to content

Commit

Permalink
Fix broken links
Browse files Browse the repository at this point in the history
Signed-off-by: Lukáš Vlček <lukas.vlcek@aiven.io>
  • Loading branch information
lukas-vlcek committed Feb 2, 2024
1 parent d17185f commit b2ef873
Showing 1 changed file with 17 additions and 17 deletions.
34 changes: 17 additions & 17 deletions _install-and-configure/plugins.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,12 @@ If you are running OpenSearch in a Docker container, plugins must be installed,

Use `list` to see a list of plugins that have already been installed.

#### Usage:
#### Usage
```bash
bin/opensearch-plugin list
```

#### Example:
#### Example
```bash
$ ./opensearch-plugin list
opensearch-alerting
Expand Down Expand Up @@ -85,20 +85,20 @@ opensearch-node1 opensearch-notifications-core 2.0.1.0

There are three ways to install plugins using the `opensearch-plugin`:

- [Install a plugin by name]({{site.url}}{{site.baseurl}}/opensearch/install/plugins#install-a-plugin-by-name)
- [Install a plugin by from a zip file]({{site.url}}{{site.baseurl}}/opensearch/install/plugins#install-a-plugin-from-a-zip-file)
- [Install a plugin using Maven coordinates]({{site.url}}{{site.baseurl}}/opensearch/install/plugins#install-a-plugin-using-maven-coordinates)
- [Install a plugin by name](#install-a-plugin-by-name).
- [Install a plugin from a ZIP file](#install-a-plugin-from-a-zip-file).
- [Install a plugin using Maven coordinates](#install-a-plugin-using-maven-coordinates).

### Install a plugin by name:
### Install a plugin by name

For a list of plugins that can be installed by name, see [Additional plugins]({{site.url}}{{site.baseurl}}/opensearch/install/plugins#additional-plugins).
For a list of plugins that can be installed by name, see [Additional plugins](#additional-plugins).

#### Usage:
#### Usage
```bash
bin/opensearch-plugin install <plugin-name>
```

#### Example:
#### Example
```bash
$ sudo ./opensearch-plugin install analysis-icu
-> Installing analysis-icu
Expand All @@ -107,16 +107,16 @@ $ sudo ./opensearch-plugin install analysis-icu
-> Installed analysis-icu with folder name analysis-icu
```

### Install a plugin from a zip file:
### Install a plugin from a zip file

Remote zip files can be installed by replacing `<zip-file>` with the URL of the hosted file. The tool only supports downloading over HTTP/HTTPS protocols. For local zip files, replace `<zip-file>` with `file:` followed by the absolute or relative path to the plugin zip file as in the second example below.

#### Usage:
#### Usage
```bash
bin/opensearch-plugin install <zip-file>
```

#### Example:
#### Example
```bash
# Zip file is hosted on a remote server - in this case, Maven central repository.
$ sudo ./opensearch-plugin install https://repo1.maven.org/maven2/org/opensearch/plugin/opensearch-anomaly-detection/2.2.0.0/opensearch-anomaly-detection-2.2.0.0.zip
Expand Down Expand Up @@ -167,16 +167,16 @@ Continue with installation? [y/N]y
-> Installed opensearch-anomaly-detection with folder name opensearch-anomaly-detection
```

### Install a plugin using Maven coordinates:
### Install a plugin using Maven coordinates

The `opensearch-plugin install` tool also accepts Maven coordinates for available artifacts and versions hosted on [Maven Central](https://search.maven.org/search?q=org.opensearch.plugin). `opensearch-plugin` will parse the Maven coordinates you provide and construct a URL. As a result, the host must be able to connect directly to [Maven Central](https://search.maven.org/search?q=org.opensearch.plugin). The plugin installation will fail if you pass coordinates to a proxy or local repository.

#### Usage:
#### Usage
```bash
bin/opensearch-plugin install <groupId>:<artifactId>:<version>
```

#### Example:
#### Example
```bash
$ sudo ./opensearch-plugin install org.opensearch.plugin:opensearch-anomaly-detection:2.2.0.0
-> Installing org.opensearch.plugin:opensearch-anomaly-detection:2.2.0.0
Expand Down Expand Up @@ -209,12 +209,12 @@ Restart your OpenSearch node after installing a plugin.

You can remove a plugin that has already been installed with the `remove` option.

#### Usage:
#### Usage
```bash
bin/opensearch-plugin remove <plugin-name>
```

#### Example:
#### Example
```bash
$ sudo $ ./opensearch-plugin remove opensearch-anomaly-detection
-> removing [opensearch-anomaly-detection]...
Expand Down

0 comments on commit b2ef873

Please sign in to comment.