diff --git a/_api-reference/cluster-api/cluster-health.md b/_api-reference/cluster-api/cluster-health.md index 8494a348d98..6a092ee24af 100644 --- a/_api-reference/cluster-api/cluster-health.md +++ b/_api-reference/cluster-api/cluster-health.md @@ -4,6 +4,7 @@ title: Cluster health nav_order: 40 parent: Cluster APIs has_children: false +redirect_from: /api-reference/cluster-health/ --- # Cluster health diff --git a/_api-reference/cluster-api/cluster-stats.md b/_api-reference/cluster-api/cluster-stats.md index a24fe5c7b9d..1c6fab89c36 100644 --- a/_api-reference/cluster-api/cluster-stats.md +++ b/_api-reference/cluster-api/cluster-stats.md @@ -4,6 +4,8 @@ title: Cluster stats nav_order: 60 parent: Cluster APIs has_children: false +redirect_from: + - /api-reference/cluster-stats/ --- # Cluster stats diff --git a/_api-reference/index.md b/_api-reference/index.md index de6f13ae0d9..8b6038778f8 100644 --- a/_api-reference/index.md +++ b/_api-reference/index.md @@ -2,6 +2,7 @@ layout: default title: REST API reference nav_order: 1 +has_toc: true redirect_from: - /opensearch/rest-api/ --- diff --git a/_config.yml b/_config.yml index fa38ad2e096..5a0b79a0d68 100644 --- a/_config.yml +++ b/_config.yml @@ -37,28 +37,37 @@ collections: opensearch: permalink: /:collection/:path/ output: true + im-plugin: + permalink: /:collection/:path/ + output: true dashboards: permalink: /:collection/:path/ output: true + tuning-your-cluster: + permalink: /:collection/:path/ + output: true security: permalink: /:collection/:path/ output: true search-plugins: permalink: /:collection/:path/ - output: true - im-plugin: + output: true + ml-commons-plugin: permalink: /:collection/:path/ output: true - replication-plugin: + neural-search-plugin: + permalink: /:collection/:path/ + output: true + tuning-your-cluster: permalink: /:collection/:path/ output: true - observability-plugin: + monitoring-your-cluster: permalink: /:collection/:path/ output: true - ml-commons-plugin: + observing-your-data: permalink: /:collection/:path/ output: true - monitoring-plugins: + ml-commons-plugin: permalink: /:collection/:path/ output: true clients: @@ -88,29 +97,32 @@ just_the_docs: opensearch: name: OpenSearch nav_fold: true + im-plugin: + name: Managing Indexes + nav_fold: true dashboards: name: OpenSearch Dashboards nav_fold: true + tuning-your-cluster: + name: Tuning your cluster + nav_fold: true security: name: Security in OpenSearch nav_fold: true search-plugins: - name: Search plugins - nav_fold: true - im-plugin: - name: Index management plugin - nav_fold: true - replication-plugin: - name: Replication plugin - nav_fold: true - observability-plugin: - name: Observability plugin + name: Search nav_fold: true ml-commons-plugin: - name: ML Commons plugin + name: Machine learning + nav_fold: true + tuning-your-cluster: + name: Tuning your cluster + nav_fold: true + monitoring-your-cluster: + name: Monitoring your cluster nav_fold: true - monitoring-plugins: - name: Monitoring plugins + observing-your-data: + name: Observing your data nav_fold: true clients: name: Clients and tools diff --git a/_monitoring-your-cluster/job-scheduler/index.md b/_monitoring-your-cluster/job-scheduler/index.md new file mode 100644 index 00000000000..938d79803ce --- /dev/null +++ b/_monitoring-your-cluster/job-scheduler/index.md @@ -0,0 +1,132 @@ +--- +layout: default +title: Job Scheduler +nav_order: 1 +has_children: false +has_toc: false +redirect_from: + - /job-scheduler-plugin/index/ +--- + +# Job Scheduler + +The OpenSearch Job Scheduler plugin provides a framework that can be used to build schedules for common tasks performed on your cluster. You can use Job Scheduler’s Service Provider Interface (SPI) to define schedules for cluster management tasks such as taking snapshots, managing your data’s lifecycle, and running periodic jobs. Job Scheduler has a sweeper that listens for updated events on the OpenSearch cluster and a scheduler that manages when jobs run. + +You can install the Job Scheduler plugin by following the standard [OpenSearch plugin installation]({{site.url}}{{site.baseurl}}/install-and-configure/install-opensearch/plugins/) process. The sample-extension-plugin example provided in the [Job Scheduler GitHub repository](https://github.com/opensearch-project/job-scheduler) provides a complete example of utilizing Job Scheduler when building a plugin. To define schedules, you build a plugin that implements the interfaces provided in the Job Scheduler library. You can schedule jobs by specifying an interval, or you can use a Unix cron expression such as `0 12 * * ?`, which runs at noon every day, to define a more flexible schedule. + +## Building a plugin for Job Scheduler + +OpenSearch plugin developers can extend the Job Scheduler plugin to schedule jobs to perform on the cluster. Jobs you can schedule include running aggregation queries against raw data, saving the aggregated data to a new index every hour, or continuing to monitor the shard allocation by calling the OpenSearch API and then posting the output to a webhook. + +For examples of building a plugin that uses the Job Scheduler plugin, see the Job Scheduler [README](https://github.com/opensearch-project/job-scheduler/blob/main/README.md). + +## Defining an endpoint + +You can configure your plugin's API endpoint by referencing the [example](https://github.com/opensearch-project/job-scheduler/blob/main/sample-extension-plugin/src/main/java/org/opensearch/jobscheduler/sampleextension/SampleExtensionRestHandler.java) `SampleExtensionRestHandler.java` file. Set the endpoint URL that your plugin will expose with `WATCH_INDEX_URI`: + +```java +public class SampleExtensionRestHandler extends BaseRestHandler { + public static final String WATCH_INDEX_URI = "/_plugins/scheduler_sample/watch"; +``` + +You can define the job configuration by [extending](https://github.com/opensearch-project/job-scheduler/blob/main/sample-extension-plugin/src/main/java/org/opensearch/jobscheduler/sampleextension/SampleJobParameter.java) `ScheduledJobParameter`. You can also define the fields used by your plugin, like `indexToWatch`, as shown in the [example](https://github.com/opensearch-project/job-scheduler/blob/main/sample-extension-plugin/src/main/java/org/opensearch/jobscheduler/sampleextension/SampleJobParameter.java) `SampleJobParameter` file. This job configuration will be saved as a document in an index you define, as shown in [this example](https://github.com/opensearch-project/job-scheduler/blob/main/sample-extension-plugin/src/main/java/org/opensearch/jobscheduler/sampleextension/SampleExtensionPlugin.java#L54). + +## Configuring parameters + +You can configure your plugin's parameters by referencing the [example](https://github.com/opensearch-project/job-scheduler/blob/main/sample-extension-plugin/src/main/java/org/opensearch/jobscheduler/sampleextension/SampleJobParameter.java) `SampleJobParameter.java` file and modifying it to fit your needs: + +```java +/** + * A sample job parameter. + *
+ * It adds an additional "indexToWatch" field to {@link ScheduledJobParameter}, which stores the index
+ * the job runner will watch.
+ */
+public class SampleJobParameter implements ScheduledJobParameter {
+ public static final String NAME_FIELD = "name";
+ public static final String ENABLED_FILED = "enabled";
+ public static final String LAST_UPDATE_TIME_FIELD = "last_update_time";
+ public static final String LAST_UPDATE_TIME_FIELD_READABLE = "last_update_time_field";
+ public static final String SCHEDULE_FIELD = "schedule";
+ public static final String ENABLED_TIME_FILED = "enabled_time";
+ public static final String ENABLED_TIME_FILED_READABLE = "enabled_time_field";
+ public static final String INDEX_NAME_FIELD = "index_name_to_watch";
+ public static final String LOCK_DURATION_SECONDS = "lock_duration_seconds";
+ public static final String JITTER = "jitter";
+
+ private String jobName;
+ private Instant lastUpdateTime;
+ private Instant enabledTime;
+ private boolean isEnabled;
+ private Schedule schedule;
+ private String indexToWatch;
+ private Long lockDurationSeconds;
+ private Double jitter;
+```
+
+Next, configure the request parameters you would like your plugin to use with Job Scheduler. These will be based on the variables you declare when configuring your plugin. The following example shows the request parameters you set when building your plugin:
+
+```java
+public SampleJobParameter(String id, String name, String indexToWatch, Schedule schedule, Long lockDurationSeconds, Double jitter) {
+ this.jobName = name;
+ this.indexToWatch = indexToWatch;
+ this.schedule = schedule;
+
+ Instant now = Instant.now();
+ this.isEnabled = true;
+ this.enabledTime = now;
+ this.lastUpdateTime = now;
+ this.lockDurationSeconds = lockDurationSeconds;
+ this.jitter = jitter;
+ }
+
+ @Override
+ public String getName() {
+ return this.jobName;
+ }
+
+ @Override
+ public Instant getLastUpdateTime() {
+ return this.lastUpdateTime;
+ }
+
+ @Override
+ public Instant getEnabledTime() {
+ return this.enabledTime;
+ }
+
+ @Override
+ public Schedule getSchedule() {
+ return this.schedule;
+ }
+
+ @Override
+ public boolean isEnabled() {
+ return this.isEnabled;
+ }
+
+ @Override
+ public Long getLockDurationSeconds() {
+ return this.lockDurationSeconds;
+ }
+
+ @Override public Double getJitter() {
+ return jitter;
+ }
+```
+
+The following table describes the request parameters configured in the previous example. All the request parameters shown are required.
+
+| Field | Data type | Description |
+:--- | :--- | :---
+| getName | String | Returns the name of the job. |
+| getLastUpdateTime | Time unit | Returns the time that the job was last run. |
+| getEnabledTime | Time unit | Returns the time that the job was enabled. |
+| getSchedule | Unix cron | Returns the job schedule formatted in Unix cron syntax. |
+| isEnabled | Boolean | Indicates whether or not the job is enabled. |
+| getLockDurationSeconds | Integer | Returns the duration of time for which the job is locked. |
+| getJitter | Integer | Returns the defined jitter value. |
+
+The logic used by your job should be defined by a class extended from `ScheduledJobRunner` in the `SampleJobParameter.java` sample file, such as `SampleJobRunner`. While the job is running, there is a locking mechanism you can use to prevent other nodes from running the same job. First, [acquire](https://github.com/opensearch-project/job-scheduler/blob/main/sample-extension-plugin/src/main/java/org/opensearch/jobscheduler/sampleextension/SampleJobRunner.java#L96) the lock. Then make sure to release the lock before the [job finishes](https://github.com/opensearch-project/job-scheduler/blob/main/sample-extension-plugin/src/main/java/org/opensearch/jobscheduler/sampleextension/SampleJobRunner.java#L116).
+
+For more information, see the Job Scheduler [sample extension](https://github.com/opensearch-project/job-scheduler/blob/main/sample-extension-plugin/src/main/java/org/opensearch/jobscheduler/sampleextension/SampleJobParameter.java) directory in the [Job Scheduler GitHub repo](https://github.com/opensearch-project/job-scheduler).
diff --git a/_monitoring-plugins/pa/api.md b/_monitoring-your-cluster/pa/api.md
similarity index 99%
rename from _monitoring-plugins/pa/api.md
rename to _monitoring-your-cluster/pa/api.md
index f1517d45e24..7aaddc8ff3f 100644
--- a/_monitoring-plugins/pa/api.md
+++ b/_monitoring-your-cluster/pa/api.md
@@ -3,6 +3,8 @@ layout: default
title: API
parent: Performance Analyzer
nav_order: 1
+redirect_from:
+ - /monitoring-plugins/pa/api/
---
# Performance Analyzer API
diff --git a/_monitoring-plugins/pa/dashboards.md b/_monitoring-your-cluster/pa/dashboards.md
similarity index 99%
rename from _monitoring-plugins/pa/dashboards.md
rename to _monitoring-your-cluster/pa/dashboards.md
index 561f6fa3ce0..300095d3af6 100644
--- a/_monitoring-plugins/pa/dashboards.md
+++ b/_monitoring-your-cluster/pa/dashboards.md
@@ -3,6 +3,8 @@ layout: default
title: Create PerfTop Dashboards
parent: Performance Analyzer
nav_order: 2
+redirect_from:
+ - /monitoring-plugins/pa/dashboards/
---
# PerfTop dashboards
diff --git a/_monitoring-plugins/pa/index.md b/_monitoring-your-cluster/pa/index.md
similarity index 99%
rename from _monitoring-plugins/pa/index.md
rename to _monitoring-your-cluster/pa/index.md
index df19fe4bc50..6b5a19c147b 100644
--- a/_monitoring-plugins/pa/index.md
+++ b/_monitoring-your-cluster/pa/index.md
@@ -5,6 +5,7 @@ nav_order: 58
has_children: true
redirect_from:
- /monitoring-plugins/pa/
+ - /monitoring-plugins/pa/index/
---
# Performance Analyzer
diff --git a/_monitoring-plugins/pa/rca/api.md b/_monitoring-your-cluster/pa/rca/api.md
similarity index 96%
rename from _monitoring-plugins/pa/rca/api.md
rename to _monitoring-your-cluster/pa/rca/api.md
index 2d3aeb3e80e..cb8762cd5fd 100644
--- a/_monitoring-plugins/pa/rca/api.md
+++ b/_monitoring-your-cluster/pa/rca/api.md
@@ -4,6 +4,8 @@ title: API
parent: Root Cause Analysis
grand_parent: Performance Analyzer
nav_order: 1
+redirect_from:
+ - /monitoring-plugins/pa/rca/api/
---
# RCA API
diff --git a/_monitoring-plugins/pa/rca/index.md b/_monitoring-your-cluster/pa/rca/index.md
similarity index 95%
rename from _monitoring-plugins/pa/rca/index.md
rename to _monitoring-your-cluster/pa/rca/index.md
index 765b9e23e00..cd63659529f 100644
--- a/_monitoring-plugins/pa/rca/index.md
+++ b/_monitoring-your-cluster/pa/rca/index.md
@@ -4,6 +4,8 @@ title: Root Cause Analysis
nav_order: 50
parent: Performance Analyzer
has_children: true
+redirect_from:
+ - /monitoring-plugins/pa/rca/index/
---
# Root Cause Analysis
diff --git a/_monitoring-plugins/pa/rca/reference.md b/_monitoring-your-cluster/pa/rca/reference.md
similarity index 83%
rename from _monitoring-plugins/pa/rca/reference.md
rename to _monitoring-your-cluster/pa/rca/reference.md
index 765942d0708..2805f894a69 100644
--- a/_monitoring-plugins/pa/rca/reference.md
+++ b/_monitoring-your-cluster/pa/rca/reference.md
@@ -4,6 +4,8 @@ title: RCA Reference
parent: Root Cause Analysis
grand_parent: Performance Analyzer
nav_order: 3
+redirect_from:
+ - /monitoring-plugins/pa/rca/reference/
---
# RCA reference
diff --git a/_monitoring-plugins/pa/reference.md b/_monitoring-your-cluster/pa/reference.md
similarity index 99%
rename from _monitoring-plugins/pa/reference.md
rename to _monitoring-your-cluster/pa/reference.md
index 8c2f16c7031..91ce9706125 100644
--- a/_monitoring-plugins/pa/reference.md
+++ b/_monitoring-your-cluster/pa/reference.md
@@ -3,6 +3,8 @@ layout: default
title: Metrics Reference
parent: Performance Analyzer
nav_order: 3
+redirect_from:
+ - /monitoring-plugins/pa/reference/
---
# Metrics reference
diff --git a/_monitoring-plugins/ad/api.md b/_observing-your-data/ad/api.md
similarity index 99%
rename from _monitoring-plugins/ad/api.md
rename to _observing-your-data/ad/api.md
index c8149424f7b..635914b99ae 100644
--- a/_monitoring-plugins/ad/api.md
+++ b/_observing-your-data/ad/api.md
@@ -3,6 +3,8 @@ layout: default
title: Anomaly detection API
parent: Anomaly detection
nav_order: 1
+redirect_from:
+ - /monitoring-plugins/ad/api/
---
# Anomaly detection API
diff --git a/_monitoring-plugins/ad/index.md b/_observing-your-data/ad/index.md
similarity index 99%
rename from _monitoring-plugins/ad/index.md
rename to _observing-your-data/ad/index.md
index ff17ce07d0a..33ccdd8ed2b 100644
--- a/_monitoring-plugins/ad/index.md
+++ b/_observing-your-data/ad/index.md
@@ -1,10 +1,11 @@
---
layout: default
title: Anomaly detection
-nav_order: 46
+nav_order: 90
has_children: true
redirect_from:
- /monitoring-plugins/ad/
+ - /monitoring-plugins/ad/index/
---
# Anomaly detection
diff --git a/_monitoring-plugins/ad/result-mapping.md b/_observing-your-data/ad/result-mapping.md
similarity index 99%
rename from _monitoring-plugins/ad/result-mapping.md
rename to _observing-your-data/ad/result-mapping.md
index 54d8670540f..7e1482a0134 100644
--- a/_monitoring-plugins/ad/result-mapping.md
+++ b/_observing-your-data/ad/result-mapping.md
@@ -3,6 +3,8 @@ layout: default
title: Anomaly result mapping
parent: Anomaly detection
nav_order: 6
+redirect_from:
+ - /monitoring-plugins/ad/result-mapping/
---
# Anomaly result mapping
diff --git a/_monitoring-plugins/ad/security.md b/_observing-your-data/ad/security.md
similarity index 98%
rename from _monitoring-plugins/ad/security.md
rename to _observing-your-data/ad/security.md
index 2eb5c144a07..688df0fe7cc 100644
--- a/_monitoring-plugins/ad/security.md
+++ b/_observing-your-data/ad/security.md
@@ -4,6 +4,8 @@ title: Anomaly detection security
nav_order: 10
parent: Anomaly detection
has_children: false
+redirect_from:
+ - /monitoring-plugins/ad/security/
---
# Anomaly detection security
diff --git a/_monitoring-plugins/ad/settings.md b/_observing-your-data/ad/settings.md
similarity index 99%
rename from _monitoring-plugins/ad/settings.md
rename to _observing-your-data/ad/settings.md
index 9a736edfb91..cc21407077b 100644
--- a/_monitoring-plugins/ad/settings.md
+++ b/_observing-your-data/ad/settings.md
@@ -3,6 +3,8 @@ layout: default
title: Settings
parent: Anomaly detection
nav_order: 4
+redirect_from:
+ - /monitoring-plugins/ad/settings/
---
# Settings
diff --git a/_monitoring-plugins/alerting/api.md b/_observing-your-data/alerting/api.md
similarity index 99%
rename from _monitoring-plugins/alerting/api.md
rename to _observing-your-data/alerting/api.md
index a087bff8c82..a4390199370 100644
--- a/_monitoring-plugins/alerting/api.md
+++ b/_observing-your-data/alerting/api.md
@@ -3,6 +3,8 @@ layout: default
title: API
parent: Alerting
nav_order: 15
+redirect_from:
+ - /monitoring-plugins/alerting/api/
---
# Alerting API
diff --git a/_monitoring-plugins/alerting/cron.md b/_observing-your-data/alerting/cron.md
similarity index 97%
rename from _monitoring-plugins/alerting/cron.md
rename to _observing-your-data/alerting/cron.md
index bba64d067bb..b37d13e576d 100644
--- a/_monitoring-plugins/alerting/cron.md
+++ b/_observing-your-data/alerting/cron.md
@@ -4,6 +4,8 @@ title: Cron
nav_order: 20
parent: Alerting
has_children: false
+redirect_from:
+ - /monitoring-plugins/alerting/cron/
---
# Cron expression reference
diff --git a/_monitoring-plugins/alerting/index.md b/_observing-your-data/alerting/index.md
similarity index 95%
rename from _monitoring-plugins/alerting/index.md
rename to _observing-your-data/alerting/index.md
index 9edf6ddb1ca..6541cd72e17 100644
--- a/_monitoring-plugins/alerting/index.md
+++ b/_observing-your-data/alerting/index.md
@@ -1,10 +1,11 @@
---
layout: default
title: Alerting
-nav_order: 34
+nav_order: 70
has_children: true
redirect_from:
- /monitoring-plugins/alerting/
+ - /monitoring-plugins/alerting/index/
---
# Alerting
diff --git a/_monitoring-plugins/alerting/monitors.md b/_observing-your-data/alerting/monitors.md
similarity index 99%
rename from _monitoring-plugins/alerting/monitors.md
rename to _observing-your-data/alerting/monitors.md
index cef9e9c0427..97736106969 100644
--- a/_monitoring-plugins/alerting/monitors.md
+++ b/_observing-your-data/alerting/monitors.md
@@ -4,6 +4,8 @@ title: Monitors
nav_order: 1
parent: Alerting
has_children: false
+redirect_from:
+ - /monitoring-plugins/alerting/monitors/
---
# Monitors
diff --git a/_monitoring-plugins/alerting/security.md b/_observing-your-data/alerting/security.md
similarity index 99%
rename from _monitoring-plugins/alerting/security.md
rename to _observing-your-data/alerting/security.md
index 4aec950cd5a..4aaadf75b4d 100644
--- a/_monitoring-plugins/alerting/security.md
+++ b/_observing-your-data/alerting/security.md
@@ -4,6 +4,8 @@ title: Alerting security
nav_order: 10
parent: Alerting
has_children: false
+redirect_from:
+ - /monitoring-plugins/alerting/security/
---
# Alerting security
diff --git a/_monitoring-plugins/alerting/settings.md b/_observing-your-data/alerting/settings.md
similarity index 98%
rename from _monitoring-plugins/alerting/settings.md
rename to _observing-your-data/alerting/settings.md
index e466c5fbb59..a1d6eb3df27 100644
--- a/_monitoring-plugins/alerting/settings.md
+++ b/_observing-your-data/alerting/settings.md
@@ -3,6 +3,8 @@ layout: default
title: Management
parent: Alerting
nav_order: 5
+redirect_from:
+ - /monitoring-plugins/alerting/settings/
---
# Management
diff --git a/_observability-plugin/app-analytics.md b/_observing-your-data/app-analytics.md
similarity index 95%
rename from _observability-plugin/app-analytics.md
rename to _observing-your-data/app-analytics.md
index eecea464810..0f7ffce0c68 100644
--- a/_observability-plugin/app-analytics.md
+++ b/_observing-your-data/app-analytics.md
@@ -1,7 +1,9 @@
---
layout: default
title: Application analytics
-nav_order: 80
+nav_order: 10
+redirect_from:
+ - /observing-your-data/app-analytics/
---
# Application analytics
@@ -39,7 +41,7 @@ To see your visualizations, choose the **Panel** tab.
### Configure availability
-Availability is the status of your application determined by availability levels set on a [time series metric]({{site.url}}{{site.baseurl}}/observability-plugin/app-analytics/#time-series-metric).
+Availability is the status of your application determined by availability levels set on a [time series metric]({{site.url}}{{site.baseurl}}/observing-your-data/app-analytics/#time-series-metric).
To create an availability level, you must configure the following:
- color: The color of the availability badge on the home page.
diff --git a/_observability-plugin/event-analytics.md b/_observing-your-data/event-analytics.md
similarity index 95%
rename from _observability-plugin/event-analytics.md
rename to _observing-your-data/event-analytics.md
index 030315eb28b..780a1f0039e 100644
--- a/_observability-plugin/event-analytics.md
+++ b/_observing-your-data/event-analytics.md
@@ -1,7 +1,9 @@
---
layout: default
title: Event analytics
-nav_order: 10
+nav_order: 20
+redirect_from:
+ - /observing-your-data/event-analytics/
---
# Event analytics
@@ -28,7 +30,7 @@ For more information about building PPL queries, see [Piped Processing Language]
## Save a visualization
-After Dashboards generates a visualization, you must save it if you want to return to it at a later time or if you want to add it to an [operational panel]({{site.url}}{{site.baseurl}}/observability-plugin/operational-panels).
+After Dashboards generates a visualization, you must save it if you want to return to it at a later time or if you want to add it to an [operational panel]({{site.url}}{{site.baseurl}}/observing-your-data/operational-panels).
To save a visualization, expand the save dropdown menu next to **Refresh**, enter a name for your visualization, then choose **Save**. You can reopen any saved visualizations on the event analytics page.
diff --git a/_observability-plugin/index.md b/_observing-your-data/index.md
similarity index 58%
rename from _observability-plugin/index.md
rename to _observing-your-data/index.md
index 304cf2dbbf9..4c516855bb5 100644
--- a/_observability-plugin/index.md
+++ b/_observing-your-data/index.md
@@ -1,13 +1,13 @@
---
layout: default
-title: About Observability
+title: Observing your data
nav_order: 1
has_children: false
redirect_from:
- - /observability-plugin/
+ - /observability-plugin/index/
---
-# About Observability
+# Observing your data
OpenSearch Dashboards
{: .label .label-yellow :}
@@ -16,12 +16,12 @@ Observability is collection of plugins and applications that let you visualize d
Your experience of exploring data might differ, but if you're new to exploring data to create visualizations, we recommend trying a workflow like the following:
1. Explore data within a certain timeframe using [Piped Processing Language]({{site.url}}{{site.baseurl}}/search-plugins/sql/ppl/index).
-2. Use [event analytics]({{site.url}}{{site.baseurl}}/observability-plugin/event-analytics) to turn data-driven events into visualizations.
+2. Use [event analytics]({{site.url}}{{site.baseurl}}/observing-your-data/event-analytics) to turn data-driven events into visualizations.

-3. Create [operational panels]({{site.url}}{{site.baseurl}}/observability-plugin/operational-panels) and add visualizations to compare data the way you like.
+3. Create [operational panels]({{site.url}}{{site.baseurl}}/observing-your-data/operational-panels) and add visualizations to compare data the way you like.

-4. Use [log analytics]({{site.url}}{{site.baseurl}}/observability-plugin/log-analytics) to transform unstructured log data.
-5. Use [trace analytics]({{site.url}}{{site.baseurl}}/observability-plugin/trace/index) to create traces and dive deep into your data.
+4. Use [log analytics]({{site.url}}{{site.baseurl}}/observing-your-data/log-ingestion/) to transform unstructured log data.
+5. Use [trace analytics]({{site.url}}{{site.baseurl}}/observing-your-data/trace/index) to create traces and dive deep into your data.

-6. Leverage [notebooks]({{site.url}}{{site.baseurl}}/observability-plugin/notebooks) to combine different visualizations and code blocks that you can share with team members.
+6. Leverage [notebooks]({{site.url}}{{site.baseurl}}/observing-your-data/notebooks) to combine different visualizations and code blocks that you can share with team members.

diff --git a/_observing-your-data/log-analytics.md b/_observing-your-data/log-analytics.md
new file mode 100644
index 00000000000..e69de29bb2d
diff --git a/_observability-plugin/log-analytics.md b/_observing-your-data/log-ingestion.md
similarity index 96%
rename from _observability-plugin/log-analytics.md
rename to _observing-your-data/log-ingestion.md
index 8128d6d5610..43267f84ffb 100644
--- a/_observability-plugin/log-analytics.md
+++ b/_observing-your-data/log-ingestion.md
@@ -1,7 +1,9 @@
---
layout: default
-title: Log analytics
-nav_order: 70
+title: Log ingestion
+nav_order: 30
+redirect_from:
+ - /observability-plugin/log-analytics/
---
# Log Ingestion
@@ -90,4 +92,4 @@ The response should show the parsed log data:
]
```
-The same data can be viewed in OpenSearch Dashboards by visiting the **Discover** page and searching the `apache_logs` index. Remember, you must create the index in OpenSearch Dashboards if this is your first time searching for the index.
+The same data can be viewed in OpenSearch Dashboards by visiting the **Discover** page and searching the `apache_logs` index. Remember, you must create the index in OpenSearch Dashboards if this is your first time searching for the index.
\ No newline at end of file
diff --git a/_observability-plugin/notebooks.md b/_observing-your-data/notebooks.md
similarity index 98%
rename from _observability-plugin/notebooks.md
rename to _observing-your-data/notebooks.md
index c4392696cbc..e85750fff5e 100644
--- a/_observability-plugin/notebooks.md
+++ b/_observing-your-data/notebooks.md
@@ -2,7 +2,9 @@
layout: default
title: Notebooks
nav_order: 50
-redirect_from: /notebooks/
+redirect_from:
+ - /notebooks/
+ - /observability-plugin/notebooks/
has_children: false
---
diff --git a/_observability-plugin/observability-security.md b/_observing-your-data/observability-security.md
similarity index 97%
rename from _observability-plugin/observability-security.md
rename to _observing-your-data/observability-security.md
index aacf40c30ba..da3ad613085 100644
--- a/_observability-plugin/observability-security.md
+++ b/_observing-your-data/observability-security.md
@@ -3,6 +3,8 @@ layout: default
title: Observability security
nav_order: 5
has_children: false
+redirect_from:
+ - /observing-your-data/security/
---
# Observability security
diff --git a/_observability-plugin/operational-panels.md b/_observing-your-data/operational-panels.md
similarity index 87%
rename from _observability-plugin/operational-panels.md
rename to _observing-your-data/operational-panels.md
index 8b8db539a49..1b05b9ded8b 100644
--- a/_observability-plugin/operational-panels.md
+++ b/_observing-your-data/operational-panels.md
@@ -1,7 +1,9 @@
---
layout: default
title: Operational panels
-nav_order: 30
+nav_order: 60
+redirect_from:
+ - /observing-your-data/operational-panels/
---
# Operational panels
@@ -16,7 +18,7 @@ If you want to start using operational panels without adding any data, expand th
To create an operational panel and add visualizations:
-1. From the **Add Visualization** dropdown menu, choose **Select Existing Visualization** or **Create New Visualization**, which takes you to the [event analytics]({{site.url}}{{site.baseurl}}/observability-plugin/event-analytics) explorer, where you can use PPL to create visualizations.
+1. From the **Add Visualization** dropdown menu, choose **Select Existing Visualization** or **Create New Visualization**, which takes you to the [event analytics]({{site.url}}{{site.baseurl}}/observing-your-data/event-analytics) explorer, where you can use PPL to create visualizations.
1. If you're adding already existing visualizations, choose a visualization from the dropdown menu.
1. Choose **Add**.
diff --git a/_observability-plugin/trace/get-started.md b/_observing-your-data/trace/getting-started.md
similarity index 93%
rename from _observability-plugin/trace/get-started.md
rename to _observing-your-data/trace/getting-started.md
index 852626a9e83..1e48b739a18 100644
--- a/_observability-plugin/trace/get-started.md
+++ b/_observing-your-data/trace/getting-started.md
@@ -1,11 +1,13 @@
---
layout: default
-title: Get Started
+title: Getting Started
parent: Trace analytics
nav_order: 1
+redirect_from:
+ - /observability-plugin/trace/get-started/
---
-# Get started with Trace Analytics
+# Getting started with Trace Analytics
OpenSearch Trace Analytics consists of two components---Data Prepper and the Trace Analytics OpenSearch Dashboards plugin---that fit into the OpenTelemetry and OpenSearch ecosystems. The Data Prepper repository has several [sample applications](https://github.com/opensearch-project/data-prepper/tree/main/examples) to help you get started.
@@ -21,7 +23,7 @@ OpenSearch Trace Analytics consists of two components---Data Prepper and the Tra
1. [Data Prepper]({{site.url}}{{site.baseurl}}/clients/data-prepper/index/) processes the OpenTelemetry data, transforms it for use in OpenSearch, and indexes it on an OpenSearch cluster.
-1. The [Trace Analytics OpenSearch Dashboards plugin]({{site.url}}{{site.baseurl}}/observability-plugin/trace/ta-dashboards/) displays the data in near real-time as a series of charts and tables, with an emphasis on service architecture, latency, error rate, and throughput.
+1. The [Trace Analytics OpenSearch Dashboards plugin]({{site.url}}{{site.baseurl}}/observing-your-data/trace/ta-dashboards/) displays the data in near real-time as a series of charts and tables, with an emphasis on service architecture, latency, error rate, and throughput.
## Jaeger HotROD
@@ -78,4 +80,4 @@ curl -X GET -u 'admin:admin' -k 'https://localhost:9200/otel-v1-apm-span-000001/
Navigate to `http://localhost:5601` in a web browser and choose **Trace Analytics**. You can see the results of your single click in the Jaeger HotROD web interface: the number of traces per API and HTTP method, latency trends, a color-coded map of the service architecture, and a list of trace IDs that you can use to drill down on individual operations.
-If you don't see your trace, adjust the timeframe in OpenSearch Dashboards. For more information on using the plugin, see [OpenSearch Dashboards plugin]({{site.url}}{{site.baseurl}}/observability-plugin/trace/ta-dashboards/).
+If you don't see your trace, adjust the timeframe in OpenSearch Dashboards. For more information on using the plugin, see [OpenSearch Dashboards plugin]({{site.url}}{{site.baseurl}}/observing-your-data/trace/ta-dashboards/).
diff --git a/_observability-plugin/trace/index.md b/_observing-your-data/trace/index.md
similarity index 91%
rename from _observability-plugin/trace/index.md
rename to _observing-your-data/trace/index.md
index ca8f72e7c69..08bfa58a850 100644
--- a/_observability-plugin/trace/index.md
+++ b/_observing-your-data/trace/index.md
@@ -1,9 +1,11 @@
---
layout: default
title: Trace analytics
-nav_order: 60
+nav_order: 40
has_children: true
has_toc: false
+redirect_from:
+ - /observability-plugin/trace/index/
---
# Trace Analytics
diff --git a/_observability-plugin/trace/ta-dashboards.md b/_observing-your-data/trace/ta-dashboards.md
similarity index 95%
rename from _observability-plugin/trace/ta-dashboards.md
rename to _observing-your-data/trace/ta-dashboards.md
index 94e78c44ece..979fd07f8cb 100644
--- a/_observability-plugin/trace/ta-dashboards.md
+++ b/_observing-your-data/trace/ta-dashboards.md
@@ -3,6 +3,8 @@ layout: default
title: OpenSearch Dashboards plugin
parent: Trace analytics
nav_order: 50
+redirect_from:
+ - /observability-plugin/trace/ta-dashboards/
---
# Trace Analytics OpenSearch Dashboards plugin
diff --git a/_search-plugins/sql/ppl/functions.md b/_search-plugins/sql/ppl/functions.md
index 9ae2e6cf6e3..49a546e50ab 100644
--- a/_search-plugins/sql/ppl/functions.md
+++ b/_search-plugins/sql/ppl/functions.md
@@ -1,7 +1,7 @@
---
layout: default
title: Commands
-parent: PPL - Piped Processing Language
+parent: PPL – Piped Processing Language
grand_parent: SQL and PPL
nav_order: 2
---
diff --git a/_search-plugins/sql/ppl/syntax.md b/_search-plugins/sql/ppl/syntax.md
index 9ccd701fb50..08d6882fb40 100644
--- a/_search-plugins/sql/ppl/syntax.md
+++ b/_search-plugins/sql/ppl/syntax.md
@@ -1,7 +1,7 @@
---
layout: default
title: Syntax
-parent: PPL - Piped Processing Language
+parent: PPL – Piped Processing Language
grand_parent: SQL and PPL
nav_order: 1
---
diff --git a/_security/access-control/permissions.md b/_security/access-control/permissions.md
index bdfeaf39189..47f2becacc6 100644
--- a/_security/access-control/permissions.md
+++ b/_security/access-control/permissions.md
@@ -3,6 +3,8 @@ layout: default
title: Permissions
parent: Access control
nav_order: 110
+redirect_from:
+ - /security-plugin/access-control/permissions/
---
# Permissions
diff --git a/_security/configuration/index.md b/_security/configuration/index.md
index 370eb26a660..20c6e42cac5 100644
--- a/_security/configuration/index.md
+++ b/_security/configuration/index.md
@@ -5,7 +5,8 @@ nav_order: 2
has_children: true
has_toc: false
redirect_from:
- - /security/configuration/
+ - /security-plugin/configuration/
+ - /security-plugin/configuration/index/
---
# Security configuration
diff --git a/_security/index.md b/_security/index.md
index 10bd7da19a3..cb2123b47d0 100755
--- a/_security/index.md
+++ b/_security/index.md
@@ -5,6 +5,8 @@ nav_order: 1
has_children: false
has_toc: false
redirect_from:
+ - /security-plugin/
+ - /security-plugin/index/
- /security/
---
diff --git a/_tuning-your-cluster/availability-and-recovery/index.md b/_tuning-your-cluster/availability-and-recovery/index.md
new file mode 100644
index 00000000000..3a68fd4c22e
--- /dev/null
+++ b/_tuning-your-cluster/availability-and-recovery/index.md
@@ -0,0 +1,9 @@
+---
+layout: default
+title: Availability and Recovery
+nav_order: 20
+has_children: true
+has_toc: true
+---
+
+The following OpenSearch features help ensure consistent uptime so that your cluster can complete and scale based on your use case, as well as creating snapshots.
\ No newline at end of file
diff --git a/_tuning-your-cluster/availability-and-recovery/segment-replication/configuration.md b/_tuning-your-cluster/availability-and-recovery/segment-replication/configuration.md
new file mode 100644
index 00000000000..b336df6985a
--- /dev/null
+++ b/_tuning-your-cluster/availability-and-recovery/segment-replication/configuration.md
@@ -0,0 +1,84 @@
+---
+layout: default
+title: Segment replication configuration
+nav_order: 12
+parent: Segment replication
+grand_parent: Availability and Recovery
+---
+
+# Segment replication configuration
+
+Segment replication is an experimental feature. Therefore, we do not recommend the use of segment replication in a production environment. For updates on the progress of segment replication or if you want to leave feedback that could help improve the feature, see the [Segment replication issue](https://github.com/opensearch-project/OpenSearch/issues/2194).
+{: .warning }
+
+To enable the segment replication type, reference the steps below.
+
+## Enabling the feature flag
+
+There are several methods for enabling segment replication, depending on the install type. You will also need to set the replication strategy to `SEGMENT` when creating the index.
+
+### Enable on a node using a tarball install
+
+The flag is toggled using a new jvm parameter that is set either in `OPENSEARCH_JAVA_OPTS` or in config/jvm.options.
+
+1. Option 1: Update config/jvm.options by adding the following line:
+
+ ````json
+ -Dopensearch.experimental.feature.replication_type.enabled=true
+ ````
+
+1. Option 2: Use the `OPENSEARCH_JAVA_OPTS` environment variable:
+
+ ````json
+ export OPENSEARCH_JAVA_OPTS="-Dopensearch.experimental.feature.replication_type.enabled=true"
+ ````
+1. Option 3: For developers using Gradle, update run.gradle by adding the following lines:
+
+ ````json
+ testClusters {
+ runTask {
+ testDistribution = 'archive'
+ if (numZones > 1) numberOfZones = numZones
+ if (numNodes > 1) numberOfNodes = numNodes
+ systemProperty 'opensearch.experimental.feature.replication_type.enabled', 'true'
+ }
+ }
+ ````
+
+### Enable with Docker containers
+
+If you're running Docker, add the following line to docker-compose.yml underneath the `opensearch-node` and `environment` section:
+
+````json
+OPENSEARCH_JAVA_OPTS="-Dopensearch.experimental.feature.replication_type.enabled=true" # Enables segment replication
+````
+
+### Setting the replication strategy on the index
+
+To set the replication strategy to segment replication, create an index with replication.type set to `SEGMENT`:
+
+````json
+PUT /my-index1
+{
+ "settings": {
+ "index": {
+ "replication.type": "SEGMENT"
+ }
+ }
+}
+````
+
+## Known limitations
+
+1. Enabling segment replication for an existing index requires [reindexing](https://github.com/opensearch-project/OpenSearch/issues/3685).
+1. Rolling upgrades are currently not supported. Full cluster restarts are required when upgrading indexes using segment replication. [Issue 3881](https://github.com/opensearch-project/OpenSearch/issues/3881).
+1. [Cross-cluster replication](https://github.com/opensearch-project/OpenSearch/issues/4090) does not currently use segment replication to copy between clusters.
+1. Increased network congestion on primary shards. [Issue - Optimize network bandwidth on primary shards](https://github.com/opensearch-project/OpenSearch/issues/4245).
+1. Shard allocation algorithms have not been updated to evenly spread primary shards across nodes.
+1. Integration with remote-backed storage as the source of replication is [currently unsupported](https://github.com/opensearch-project/OpenSearch/issues/4448).
+
+### Further resources regarding segment replication
+
+1. [Known issues](https://github.com/opensearch-project/OpenSearch/issues/2194).
+1. Steps for testing (link coming soon).
+1. Segment replication blog post (link coming soon).
\ No newline at end of file
diff --git a/_tuning-your-cluster/availability-and-recovery/segment-replication/index.md b/_tuning-your-cluster/availability-and-recovery/segment-replication/index.md
new file mode 100644
index 00000000000..b7641f81920
--- /dev/null
+++ b/_tuning-your-cluster/availability-and-recovery/segment-replication/index.md
@@ -0,0 +1,27 @@
+---
+layout: default
+title: Segment replication
+nav_order: 70
+has_children: true
+parent: Availability and Recovery
+redirect_from:
+ - /opensearch/segment-replication/
+ - /opensearch/segment-replication/index/
+---
+
+# Segment replication
+
+Segment replication is an experimental feature with OpenSearch 2.3. Therefore, we do not recommend the use of segment replication in a production environment. For updates on the progress of segment replication or if you want leave feedback that could help improve the feature, see the [Segment replication git issue](https://github.com/opensearch-project/OpenSearch/issues/2194).
+{: .warning}
+
+With segment replication, segment files are copied across shards instead of documents being indexed on each shard copy. This improves indexing throughput and lowers resource utilization at the expense of increased network utilization.
+
+As an experimental feature, segment replication will be behind a feature flag and must be enabled on **each node** of a cluster and pass a new setting during index creation.
+{: .note }
+
+### Potential use cases
+
+- Users who have high write loads but do not have high search requirements and are comfortable with longer refresh times.
+- Users with very high loads who want to add new nodes, as you do not need to index all nodes when adding a new node to the cluster.
+
+This is the first step in a series of features designed to decouple reads and writes in order to lower compute costs.
\ No newline at end of file
diff --git a/_opensearch/shard-indexing-backpressure.md b/_tuning-your-cluster/availability-and-recovery/shard-indexing-backpressure.md
similarity index 94%
rename from _opensearch/shard-indexing-backpressure.md
rename to _tuning-your-cluster/availability-and-recovery/shard-indexing-backpressure.md
index ac58c7d358a..cde2f125cb6 100644
--- a/_opensearch/shard-indexing-backpressure.md
+++ b/_tuning-your-cluster/availability-and-recovery/shard-indexing-backpressure.md
@@ -3,6 +3,9 @@ layout: default
title: Shard indexing backpressure
nav_order: 62
has_children: true
+parent: Availability and Recovery
+redirect_from:
+ - /opensearch/shard-indexing-backpressure/
---
# Shard indexing backpressure
diff --git a/_opensearch/shard-indexing-settings.md b/_tuning-your-cluster/availability-and-recovery/shard-indexing-settings.md
similarity index 97%
rename from _opensearch/shard-indexing-settings.md
rename to _tuning-your-cluster/availability-and-recovery/shard-indexing-settings.md
index 8726906352b..88b0ea70b4c 100644
--- a/_opensearch/shard-indexing-settings.md
+++ b/_tuning-your-cluster/availability-and-recovery/shard-indexing-settings.md
@@ -2,8 +2,10 @@
layout: default
title: Settings
parent: Shard indexing backpressure
-nav_order: 1
-has_children: false
+nav_order: 50
+grand_parent: Availability and Recovery
+redirect_from:
+ - /opensearch/shard-indexing-settings/
---
# Settings
diff --git a/_opensearch/snapshot-restore.md b/_tuning-your-cluster/availability-and-recovery/snapshots/snapshot-restore.md
similarity index 98%
rename from _opensearch/snapshot-restore.md
rename to _tuning-your-cluster/availability-and-recovery/snapshots/snapshot-restore.md
index 29bd326a671..181eda21559 100644
--- a/_opensearch/snapshot-restore.md
+++ b/_tuning-your-cluster/availability-and-recovery/snapshots/snapshot-restore.md
@@ -1,7 +1,16 @@
---
layout: default
title: Take and restore snapshots
+<<<<<<<< HEAD:_opensearch/snapshot-restore.md
nav_order: 65
+========
+parent: Snapshots
+nav_order: 10
+has_children: false
+grand_parent: Availability and Recovery
+redirect_from:
+ - /opensearch/snapshots/snapshot-restore/
+>>>>>>>> 45834d6f (Once more... Managing, Monitoring, Tuning. (#2653)):_tuning-your-cluster/availability-and-recovery/snapshots/snapshot-restore.md
---
# Take and restore snapshots
diff --git a/_opensearch/stats-api.md b/_tuning-your-cluster/availability-and-recovery/stats-api.md
similarity index 99%
rename from _opensearch/stats-api.md
rename to _tuning-your-cluster/availability-and-recovery/stats-api.md
index ac0573570ca..d7670eea1a4 100644
--- a/_opensearch/stats-api.md
+++ b/_tuning-your-cluster/availability-and-recovery/stats-api.md
@@ -3,7 +3,10 @@ layout: default
title: Stats API
parent: Shard indexing backpressure
nav_order: 2
+grand_parent: Availability and Recovery
has_children: false
+redirect_from:
+ - /opensearch/stats-api/
---
# Stats API
diff --git a/_opensearch/cluster.md b/_tuning-your-cluster/cluster.md
similarity index 99%
rename from _opensearch/cluster.md
rename to _tuning-your-cluster/cluster.md
index 6158ddd3f2e..f0ce1a3236b 100644
--- a/_opensearch/cluster.md
+++ b/_tuning-your-cluster/cluster.md
@@ -1,10 +1,12 @@
---
layout: default
-title: Cluster formation
-nav_order: 7
+title: Creating a cluster
+nav_order: 8
+redirect_from:
+ - /opensearch/cluster/
---
-# Cluster formation
+# Creating a cluster
Before diving into OpenSearch and searching and aggregating data, you first need to create an OpenSearch cluster.
diff --git a/_tuning-your-cluster/replication-plugin/auto-follow.md b/_tuning-your-cluster/replication-plugin/auto-follow.md
new file mode 100644
index 00000000000..d3103df91ea
--- /dev/null
+++ b/_tuning-your-cluster/replication-plugin/auto-follow.md
@@ -0,0 +1,106 @@
+---
+layout: default
+title: Auto-follow
+nav_order: 20
+parent: Cross-cluster replication
+redirect_from:
+ - /replication-plugin/auto-follow/
+---
+
+# Auto-follow for cross-cluster replication
+
+Auto-follow lets you automatically replicate indexes created on the leader cluster based on matching patterns. When you create an index on the leader cluster with a name that matches a specified pattern (for example, `index-01*`), a corresponding follower index is automatically created on the follower cluster.
+
+You can configure multiple replication rules for a single cluster. The patterns currently only support wildcard matching.
+
+## Prerequisites
+
+You need to [set up a cross-cluster connection]({{site.url}}{{site.baseurl}}/replication-plugin/get-started/#set-up-a-cross-cluster-connection) between two clusters before you can enable auto-follow.
+
+## Permissions
+
+If the security plugin is enabled, make sure that non-admin users are mapped to the appropriate permissions so they can perform replication actions. For index and cluster-level permissions requirements, see [Cross-cluster replication permissions]({{site.url}}{{site.baseurl}}/replication-plugin/permissions/).
+
+## Get started with auto-follow
+
+Replication rules are a collection of patterns that you create against a single follower cluster. When you create a replication rule, it starts by automatically replicating any *existing* indexes that match the pattern. It will then continue to replicate any *new* indexes that you create that match the pattern.
+
+Create a replication rule on the follower cluster:
+
+```bash
+curl -XPOST -k -H 'Content-Type: application/json' -u 'admin:admin' 'https://localhost:9200/_plugins/_replication/_autofollow?pretty' -d '
+{
+ "leader_alias" : "my-connection-alias",
+ "name": "my-replication-rule",
+ "pattern": "movies*",
+ "use_roles":{
+ "leader_cluster_role": "all_access",
+ "follower_cluster_role": "all_access"
+ }
+}'
+```
+
+If the security plugin is disabled, you can leave out the `use_roles` parameter. If it's enabled, however, you need to specify the leader and follower cluster roles that OpenSearch uses to authenticate requests. This example uses `all_access` for simplicity, but we recommend creating a replication user on each cluster and [mapping it accordingly]({{site.url}}{{site.baseurl}}/replication-plugin/permissions/#map-the-leader-and-follower-cluster-roles).
+{: .tip }
+
+To test the rule, create a matching index on the leader cluster:
+
+```bash
+curl -XPUT -k -H 'Content-Type: application/json' -u 'admin:admin' 'https://localhost:9201/movies-0001?pretty'
+```
+
+And confirm its replica shows up on the follower cluster:
+
+```bash
+curl -XGET -u 'admin:admin' -k 'https://localhost:9200/_cat/indices?v'
+```
+
+It might take several seconds for the index to appear.
+
+```bash
+health status index uuid pri rep docs.count docs.deleted store.size pri.store.size
+yellow open movies-0001 kHOxYYHxRMeszLjTD9rvSQ 1 1 0 0 208b 208b
+```
+
+## Retrieve replication rules
+
+To retrieve a list of existing replication rules that are configured on a cluster, send the following request:
+
+```bash
+curl -XGET -u 'admin:admin' -k 'https://localhost:9200/_plugins/_replication/autofollow_stats'
+
+{
+ "num_success_start_replication": 1,
+ "num_failed_start_replication": 0,
+ "num_failed_leader_calls": 0,
+ "failed_indices":[
+
+ ],
+ "autofollow_stats":[
+ {
+ "name":"my-replication-rule",
+ "pattern":"movies*",
+ "num_success_start_replication": 1,
+ "num_failed_start_replication": 0,
+ "num_failed_leader_calls": 0,
+ "failed_indices":[
+
+ ]
+ }
+ ]
+}
+```
+
+## Delete a replication rule
+
+To delete a replication rule, send the following request to the follower cluster:
+
+```bash
+curl -XDELETE -k -H 'Content-Type: application/json' -u 'admin:admin' 'https://localhost:9200/_plugins/_replication/_autofollow?pretty' -d '
+{
+ "leader_alias" : "my-conection-alias",
+ "name": "my-replication-rule"
+}'
+```
+
+When you delete a replication rule, OpenSearch stops replicating *new* indexes that match the pattern, but existing indexes that the rule previously created remain read-only and continue to replicate. If you need to stop existing replication activity and open the indexes up for writes, use the [stop replication API operation]({{site.url}}{{site.baseurl}}/replication-plugin/api/#stop-replication).
\ No newline at end of file
diff --git a/_tuning-your-cluster/replication-plugin/getting-started.md b/_tuning-your-cluster/replication-plugin/getting-started.md
new file mode 100644
index 00000000000..05f515f3c72
--- /dev/null
+++ b/_tuning-your-cluster/replication-plugin/getting-started.md
@@ -0,0 +1,295 @@
+---
+layout: default
+title: Getting started
+nav_order: 15
+parent: Cross-cluster replication
+redirect_from:
+ - /replication-plugin/get-started/
+---
+
+# Getting started with cross-cluster replication
+
+With cross-cluster replication, you index data to a leader index, and OpenSearch replicates that data to one or more read-only follower indexes. All subsequent operations on the leader are replicated on the follower, such as creating, updating, or deleting documents.
+
+## Prerequisites
+
+Cross-cluster replication has the following prerequisites:
+- Both the leader and follower cluster must have the replication plugin installed.
+- If you've overridden `node.roles` in `opensearch.yml` on the follower cluster, make sure it also includes the `remote_cluster_client` role:
+
+ ```yaml
+ node.roles: [