---
title: arpio-config:opensearch-indexes
description: Define OpenSearch indices to include or exclude in a recovery
---

[Skip to content](https://docs.arpio.io/arpio-configopensearch-indexes#main-content)

English

Show submenu for translations

[Customer ticket portal](https://docs.arpio.io/tickets-view?hsLang=en)

- Home
- Products
- Pricing
- Blog
- Company

Open main navigation

Close main navigation

- Home
- Products
- Pricing
- Blog
- Company
- English
  
  Show submenu for translations
- [Customer ticket portal](https://docs.arpio.io/tickets-view)

 Welcome to Arpio Technical Docs

- There are no suggestions because the search field is empty.

1. [Arpio Documentation](https://docs.arpio.io/?hsLang=en)
2. [AWS Reference Guides](https://docs.arpio.io/aws-reference-guides?hsLang=en)
3. [AWS Configuration Tags](https://docs.arpio.io/aws-reference-guides?hsLang=en#aws-configuration-tags)

# arpio-config:opensearch-indexes

## Define OpenSearch indices to include or exclude in a recovery

```
arpio-config:opensearch-indexes = <opensearch index pattern>
```

#### **\<opensearch index pattern\>**

An index pattern using the index selection format defined by OpenSearch.  See the OpenSearch [Take and Restore Snapshot docs](https://opensearch.org/docs/latest/tuning-your-cluster/availability-and-recovery/snapshots/snapshot-restore) for more about the OpenSearch index selection format.   Because **AWS does not allow commas or asterisks in OpenSearch domain tag values**, you must:

- replace the wildcard character "`*`" with a plus sign "`+`"
- replace the index list separator comma "`,`" with a space "``"

### **Supported Resources**

- OpenSearch Domain
- OpenSearch Serverless Collection

### **Description**

By default, all non-administrative OpenSearch indexes are replicated during a recovery event. The `arpio-config:opensearch-indexes` tag can be set on an OpenSearch domain to define which indexes of the domain should be snapshotted and replicated. The value for this tag follows the snapshot index selection format defined by OpenSearch, with changes to allow for supported characters in AWS tab values.

In brief:

- Use "``" (a single space) as a separator instead of "`,`" for a list of index patterns
- Use "`+`" as a wildcard in a pattern to match multiple indexes, instead of "`*`"
- Continue to use "`-`" to exclude indexes matching the pattern (no changes from the OpenSearch format)

For example, this pattern causes all prod-sentiment indexes to be replicated, and all prod-logs indexes to be ignored: `prod-sentiment+ -prod-logs+`

To ignore all index data, use the exclude all value: `-+`

### **Examples**

| **Tag** | **Value** | **Description** |
| --- | --- | --- |
| arpio-config:opensearch-indexes | prod-sentiment+ -prod-logs+ | Replicate all prod-sentiment indexes, and ignore all prod-logs indexes |
| arpio-config:opensearch-indexes | -+ | Ignore all index data |

- [Getting Started](https://docs.arpio.io/getting-started?hsLang=en#main-content)

    - [New Account Setup](https://docs.arpio.io/getting-started?hsLang=en#new-account-setup)
    - [New Application Setup](https://docs.arpio.io/getting-started?hsLang=en#new-application-setup)
- [Arpio Fundamentals](https://docs.arpio.io/arpio-fundamentals?hsLang=en#main-content)

    - [Platform Fundamentals](https://docs.arpio.io/arpio-fundamentals?hsLang=en#platform-fundamentals)
    - [Platform Features](https://docs.arpio.io/arpio-fundamentals?hsLang=en#platform-features)
- [Arpio Reference Guides](https://docs.arpio.io/arpio-reference-guides?hsLang=en#main-content)

    - [Arpio API](https://docs.arpio.io/arpio-reference-guides?hsLang=en#arpio-api)
    - [Lifecycle Events](https://docs.arpio.io/arpio-reference-guides?hsLang=en#lifecycle-events)
    - [Role-Based Access Controls (RBAC)](https://docs.arpio.io/arpio-reference-guides?hsLang=en#role-based-access-controls-rbac)
    - [Single Sign-On (SSO) Integration](https://docs.arpio.io/arpio-reference-guides?hsLang=en#single-sign-on-sso-integration)
    - [Test Planning](https://docs.arpio.io/arpio-reference-guides?hsLang=en#test-planning)
    - [Test & Recovery How-To](https://docs.arpio.io/arpio-reference-guides?hsLang=en#test-recovery-how-to)
- [AWS Reference Guides](https://docs.arpio.io/aws-reference-guides?hsLang=en#main-content)

    - [AWS Resource Reference](https://docs.arpio.io/aws-reference-guides?hsLang=en#aws-resource-reference)
    - [AWS Configuration Tags](https://docs.arpio.io/aws-reference-guides?hsLang=en#aws-configuration-tags)
    - [AWS Access](https://docs.arpio.io/aws-reference-guides?hsLang=en#aws-access)
    - [AWS Testing](https://docs.arpio.io/aws-reference-guides?hsLang=en#aws-testing)
    - [AWS Solutions](https://docs.arpio.io/aws-reference-guides?hsLang=en#aws-solutions)
- [Azure Reference Guides](https://docs.arpio.io/azure-reference-guides?hsLang=en#main-content)

    - [Azure Resource Reference](https://docs.arpio.io/azure-reference-guides?hsLang=en#azure-resource-reference)
    - [Azure Configuration Tags](https://docs.arpio.io/azure-reference-guides?hsLang=en#azure-configuration-tags)
    - [Azure Scenarios](https://docs.arpio.io/azure-reference-guides?hsLang=en#azure-scenarios)
- [FAQ](https://docs.arpio.io/faq?hsLang=en#main-content)

    - [AWS FAQ](https://docs.arpio.io/faq?hsLang=en#aws-faq)
    - [Contact Support](https://docs.arpio.io/faq?hsLang=en#contact-support)
    - [License & Billing](https://docs.arpio.io/faq?hsLang=en#license-billing)
    - [Tests and Recoveries](https://docs.arpio.io/faq?hsLang=en#tests-and-recoveries)

- Home
- Products
- Pricing
- Blog
- Company

[![bubble-wand-tight.64](https://docs.arpio.io/hs-fs/hubfs/bubble-wand-tight.64.png?width=64&height=64&name=bubble-wand-tight.64.png "bubble-wand-tight.64")](https://arpio.io)

Copyright © 2026, Arpio