-
Notifications
You must be signed in to change notification settings - Fork 213
Rework migrate data docs (Take 2) #5244
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
a582571
8ec1725
dee3acf
a1f09c5
2396ab1
3a1f2be
a4376c6
e0b9f57
336b4e9
e7fb4cf
8c874cf
4473f0e
8b9d2c9
e52e358
8c3b51f
c7568e3
5b66faa
ab3a4a5
bab16ae
0a9ce5a
d271b91
57bb75a
85bae34
a60750c
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -0,0 +1,133 @@ | ||||||
| --- | ||||||
| mapped_pages: | ||||||
| - https://www.elastic.co/guide/en/cloud/current/ec-migrating-data.html | ||||||
| - https://www.elastic.co/guide/en/cloud-enterprise/current/ece-migrating-data.html | ||||||
| - https://www.elastic.co/guide/en/cloud-heroku/current/ech-migrate-data2.html | ||||||
| applies_to: | ||||||
| stack: ga | ||||||
| serverless: ga | ||||||
| products: | ||||||
| - id: elasticsearch | ||||||
| - id: cloud-hosted | ||||||
| - id: cloud-enterprise | ||||||
| - id: cloud-kubernetes | ||||||
| --- | ||||||
|
|
||||||
| # Migrate your {{es}} data [migrate-your-elasticsearch-data] | ||||||
|
|
||||||
| Transitioning between Elastic deployment types involves migrating your {{es}} data. This page helps you plan your migration by describing the main categories of data you may need to move (ingested user data, {{es}} system data, {{kib}} saved objects, and feature-specific data), the migration methods available for each, and where to find step-by-step guides for your scenario. | ||||||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This is close enough to the next section that i'd skip the parenthetical personally
Suggested change
|
||||||
|
|
||||||
| ## Data types [migration-data-types] | ||||||
|
|
||||||
| Your migration options depend on the type of data that you need to migrate, which can be categorized into four groups: | ||||||
|
|
||||||
| - **Ingested user data**: All of the data that you've added into {{es}}, structured or unstructured, for your own applications. | ||||||
|
|
||||||
| - **{{es}} system data**: Configuration and state information stored in {{es}} [system indices](elasticsearch://reference/elasticsearch/rest-apis/api-conventions.md#system-indices). This data is used by {{es}} for its internal operations. | ||||||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. when I read "configuration data" I assume things like users might be involved, but that looks like it's feature/component data. can we be more precise here? |
||||||
|
|
||||||
| - **{{kib}} saved objects**: Dashboards, visualizations, maps, data views, Canvas workpads, and any other objects that you've saved in {{kib}}. | ||||||
|
|
||||||
| - **Feature and component data**: Data stored in {{es}} that is specific to a given Elastic feature or component. This includes, for example, configuration data for {{fleet}} and {{integrations}}, {{watcher}} data, alerting and security detection rules, security data such as role mappings, API keys, and service tokens, and others. | ||||||
|
|
||||||
| ## Migration options [migration-options] | ||||||
kilfoyle marked this conversation as resolved.
Show resolved
Hide resolved
|
||||||
|
|
||||||
| Depending on the type of data that you need to move, various migration options are available: | ||||||
|
|
||||||
| - **Reindex from source**: For your own data, reindexing into your new, destination deployment from the data's original source is typically the most straightforward approach, since it's available without any need to consider differing {{es}} versions or deployment types. | ||||||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I find this hard to read. wonder if this bulleted listwould be better as a table too
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. coming back to this section from the tutorials, I think we can maybe just link to the tutorials from this list as well (on the "term" segment), maybe with a note saying "not all methods are compatible, go here for more info before selecting a method" |
||||||
|
|
||||||
| If you still have access to the original data source, outside of your former {{es}} cluster, you can load the data from there. You have the option to use any ingestion method that you want—{{ls}}, {{agent}}, {{beats}}, the {{es}} clients, or whatever works best for you. | ||||||
|
|
||||||
| If the original source isn’t available or has other issues that make it non-viable, you can choose from one of the other migration options described here. | ||||||
| - **Dual ingest**: For data with a limited lifecycle (logs and metrics, for example), another approach is to ingest into both the original and new environment at the same time, for a set duration. You can ingest into both environments for long enough for the data retention period to elapse. Then, after confirming that everything is working well in the new environment, the original environment can be shut down. | ||||||
| - **Snapshot and restore**: Use a snapshot to create a backup of your running {{es}} cluster, and then migrate by restoring your data into a new cluster. | ||||||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. re: linking, I think it would be cool to have two links here: one to the regular snapshot and restore docs and one to the minimal downtime tutorial (and hints as to why both exist) |
||||||
| - **Reindex API**: Copy documents from a source index to a destination index. You can reindex across clusters and deployment types and transform the data en route. | ||||||
| - **{{ls}}**: With {{ls}} you can collect, process, and forward data from a variety of sources to a variety of destinations. It serves as a highly configurable option available for migrating data across any deployment types. | ||||||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
| - **Saved objects API**: Use this API to migrate objects that you've saved in {{kib}}. | ||||||
| - **{{kib}} saved object management**: You can also use the {{kib}} UI to migrate your saved objects. | ||||||
|
|
||||||
| The following table describes the migration options available for each data type and where to find guidance. | ||||||
|
|
||||||
| | Data type | Migration options | | ||||||
| | ------ | ------ | | ||||||
| | Ingested user data | The reindex API, snapshot and restore, and {{ls}} migration options are available for your user data, with some restrictions based on the source and target deployment type. Refer to [User data migration guides](#data-migration-guides) on this page to learn more. | | ||||||
| | {{es}} system data | System indices must be migrated using the snapshot and restore [feature states](/deploy-manage/tools/snapshot-and-restore.md#feature-state) component. Refer to [Migrate system indices](/manage-data/migrate/migrate-internal-indices.md) for detailed migration steps. | | ||||||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. can we call out which of these are not available for serverless? assume that this one is not |
||||||
| | {{kib}} saved objects | {{kib}} saved objects can be migrated using the snapshot and restore [feature states](/deploy-manage/tools/snapshot-and-restore.md#feature-state) component or the {{kib}} import and export tools. The tools include the import and export endpoints of the [Saved objects API](https://www.elastic.co/docs/api/doc/kibana/group/endpoint-saved-objects) and the [import and export](/explore-analyze/find-and-organize/saved-objects.md#saved-objects-import-and-export) options in the {{kib}} UI.<br><br>Snapshot and restore is generally the preferred migration method due to both speed and ease of use. In case you need to migrate {{fleet}} configuration data through snapshot and restore, this requires also restoring the {{kib}} feature state. | | ||||||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Consider putting this note in the feature / component element below instead (because the context is someone trying to migrate feature data) |
||||||
| | Elastic feature and component data | Configuration data for products such as {{fleet}}, {{integrations}}, and {{watcher}} is typically migrated using the snapshot and restore feature. Refer to [Snaphot and restore](/deploy-manage/tools/snapshot-and-restore.md) and to the documentation for each specific product for additional detail. | | ||||||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
|
|
||||||
| <!-- | ||||||
| ## Data migration guides [data-migration-guides] | ||||||
|
|
||||||
| Choose one of our guides for detailed steps to migrate your {{es}} data. | ||||||
|
|
||||||
| Migrate your user data to {{serverless-full}}: | ||||||
|
|
||||||
| - [Migrate with the reindex API](/manage-data/migrate/migrate-data-using-reindex-api.md) | ||||||
| - [Migrate with {{ls}}](/manage-data/migrate/migrate-with-logstash.md) | ||||||
|
|
||||||
| Migrate your user data to {{ech}} or {{ece}}: | ||||||
|
|
||||||
| - [Migrate to {{ech}} or ECE](/manage-data/migrate/migrate-to-ech-or-ece.md) | ||||||
| - [Reindex using a private CA](/manage-data/migrate/migrate-from-a-self-managed-cluster-with-a-self-signed-certificate-using-remote-reindex.md) {applies_to}`ece: unavailable` | ||||||
|
|
||||||
| Migrate data using snapshot and restore, including system data: | ||||||
|
|
||||||
| - [Minimal-downtime migration using snapshots](/manage-data/migrate/migrate-data-between-elasticsearch-clusters-with-minimal-downtime.md) | ||||||
| - [Migrate system indices](/manage-data/migrate/migrate-internal-indices.md) | ||||||
| --> | ||||||
|
|
||||||
|
|
||||||
| ## User data migration guides [data-migration-guides] | ||||||
|
|
||||||
| To migrate your {{es}} ingested user data, choose one of the available migration options depending on your source and target deployment types. | ||||||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. consider hinting that some of these tutorials use specific deployment types as examples, but can be altered for your scenario (less shock/disorientation) |
||||||
|
|
||||||
| **Migrate data to {{ech}}**: | ||||||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. would like these to be H3s for easy linking |
||||||
|
|
||||||
| | From | To | Supported Methods | | ||||||
| | --- | --- | --- | | ||||||
| | ECH | ECH | [Reindex API](/manage-data/migrate/migrate-data-using-reindex-api.md), [Snapshot and restore](/manage-data/migrate/migrate-data-between-elasticsearch-clusters-with-minimal-downtime.md), [{{ls}}](/manage-data/migrate/migrate-with-logstash.md) | | ||||||
| | ECE | ECH | [Reindex API](/manage-data/migrate/migrate-data-using-reindex-api.md), [Snapshot and restore](/manage-data/migrate/migrate-data-between-elasticsearch-clusters-with-minimal-downtime.md), [{{ls}}](/manage-data/migrate/migrate-with-logstash.md) | | ||||||
| | ECK | ECH | [Reindex API](/manage-data/migrate/migrate-data-using-reindex-api.md), [Snapshot and restore](/manage-data/migrate/migrate-data-between-elasticsearch-clusters-with-minimal-downtime.md), [{{ls}}](/manage-data/migrate/migrate-with-logstash.md) | | ||||||
| | {{serverless-short}} | ECH | [Reindex API](/manage-data/migrate/migrate-data-using-reindex-api.md), [{{ls}}](/manage-data/migrate/migrate-with-logstash.md) | | ||||||
| | Self-managed | ECH | [Reindex API](/manage-data/migrate/migrate-data-using-reindex-api.md)*, [Snapshot and restore](/manage-data/migrate/migrate-data-between-elasticsearch-clusters-with-minimal-downtime.md), [{{ls}}](/manage-data/migrate/migrate-with-logstash.md) | | ||||||
| * See also [Reindex from a Self-managed cluster using a private CA](https://docs-v3-preview.elastic.dev/elastic/docs-content/pull/4914/manage-data/migrate/migrate-from-a-Self-managed-cluster-with-a-self-signed-certificate-using-remote-reindex) | ||||||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. this asterisk is not rendering properly. I think escaping it will fix it
Suggested change
|
||||||
|
|
||||||
| **Migrate data to {{ece}}**: | ||||||
|
|
||||||
| | From | To | Supported Methods | | ||||||
| | --- | --- | --- | | ||||||
| | ECH | ECE | [Reindex API](/manage-data/migrate/migrate-data-using-reindex-api.md), [Snapshot and restore](/manage-data/migrate/migrate-data-between-elasticsearch-clusters-with-minimal-downtime.md), [{{ls}}](/manage-data/migrate/migrate-with-logstash.md) | | ||||||
| | ECE | ECE | [Reindex API](/manage-data/migrate/migrate-data-using-reindex-api.md), [Snapshot and restore](/manage-data/migrate/migrate-data-between-elasticsearch-clusters-with-minimal-downtime.md), [{{ls}}](/manage-data/migrate/migrate-with-logstash.md) | | ||||||
| | ECK | ECE | [Reindex API](/manage-data/migrate/migrate-data-using-reindex-api.md), [Snapshot and restore](/manage-data/migrate/migrate-data-between-elasticsearch-clusters-with-minimal-downtime.md), [{{ls}}](/manage-data/migrate/migrate-with-logstash.md) | | ||||||
| | {{serverless-short}} | ECE | [Reindex API](/manage-data/migrate/migrate-data-using-reindex-api.md), [{{ls}}](/manage-data/migrate/migrate-with-logstash.md) | | ||||||
| | Self-managed | ECE | [Reindex API](/manage-data/migrate/migrate-data-using-reindex-api.md), [Snapshot and restore](/manage-data/migrate/migrate-data-between-elasticsearch-clusters-with-minimal-downtime.md), [{{ls}}](/manage-data/migrate/migrate-with-logstash.md) | | ||||||
|
|
||||||
| **Migrate data to {{eck}}**: | ||||||
|
|
||||||
| | From | To | Supported Methods | | ||||||
| | --- | --- | --- | | ||||||
| | ECH | ECK | [Reindex API](/manage-data/migrate/migrate-data-using-reindex-api.md), [Snapshot and restore](/manage-data/migrate/migrate-data-between-elasticsearch-clusters-with-minimal-downtime.md), [{{ls}}](/manage-data/migrate/migrate-with-logstash.md) | | ||||||
| | ECE | ECK | [Reindex API](/manage-data/migrate/migrate-data-using-reindex-api.md), [Snapshot and restore](/manage-data/migrate/migrate-data-between-elasticsearch-clusters-with-minimal-downtime.md), [{{ls}}](/manage-data/migrate/migrate-with-logstash.md) | | ||||||
| | ECK | ECK | [Reindex API](/manage-data/migrate/migrate-data-using-reindex-api.md), [Snapshot and restore](/manage-data/migrate/migrate-data-between-elasticsearch-clusters-with-minimal-downtime.md), [{{ls}}](/manage-data/migrate/migrate-with-logstash.md) | | ||||||
| | {{serverless-short}} | ECK | [Reindex API](/manage-data/migrate/migrate-data-using-reindex-api.md), [{{ls}}](/manage-data/migrate/migrate-with-logstash.md) | | ||||||
| | Self-managed | ECK | [Reindex API](/manage-data/migrate/migrate-data-using-reindex-api.md), [Snapshot and restore](/manage-data/migrate/migrate-data-between-elasticsearch-clusters-with-minimal-downtime.md), [{{ls}}](/manage-data/migrate/migrate-with-logstash.md) | | ||||||
|
|
||||||
| **Migrate data to {{serverless-full}}**: | ||||||
|
|
||||||
| | From | To | Supported Methods | | ||||||
| | --- | --- | --- | | ||||||
| | ECH | {{serverless-short}} | [Reindex API](/manage-data/migrate/migrate-data-using-reindex-api.md) {applies_to}`serverless: preview 9.3+`, [{{ls}}](/manage-data/migrate/migrate-with-logstash.md) | | ||||||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. for just this one, I'd do two lines so the applies tag is not in the middle
Suggested change
|
||||||
| | ECE | {{serverless-short}} | [{{ls}}](/manage-data/migrate/migrate-with-logstash.md) | | ||||||
| | ECK | {{serverless-short}} | [{{ls}}](/manage-data/migrate/migrate-with-logstash.md) | | ||||||
| | {{serverless-short}} | {{serverless-short}} | [{{ls}}](/manage-data/migrate/migrate-with-logstash.md) | | ||||||
| | Self-managed | {{serverless-short}} | [{{ls}}](/manage-data/migrate/migrate-with-logstash.md) | | ||||||
|
|
||||||
| **Migrate data to Elastic self-managed**: | ||||||
|
|
||||||
| | From | To | Supported Methods | | ||||||
| | --- | --- | --- | | ||||||
| | ECH | Self-managed | [Reindex API](/manage-data/migrate/migrate-data-using-reindex-api.md), [Snapshot and restore](/manage-data/migrate/migrate-data-between-elasticsearch-clusters-with-minimal-downtime.md), [{{ls}}](/manage-data/migrate/migrate-with-logstash.md) | | ||||||
| | ECE | Self-managed | [Reindex API](/manage-data/migrate/migrate-data-using-reindex-api.md), [Snapshot and restore](/manage-data/migrate/migrate-data-between-elasticsearch-clusters-with-minimal-downtime.md), [{{ls}}](/manage-data/migrate/migrate-with-logstash.md) | | ||||||
| | ECK | Self-managed | [Reindex API](/manage-data/migrate/migrate-data-using-reindex-api.md), [Snapshot and restore](/manage-data/migrate/migrate-data-between-elasticsearch-clusters-with-minimal-downtime.md), [{{ls}}](/manage-data/migrate/migrate-with-logstash.md) | | ||||||
| | {{serverless-short}} | Self-managed | [Reindex API](/manage-data/migrate/migrate-data-using-reindex-api.md), [{{ls}}](/manage-data/migrate/migrate-with-logstash.md) | | ||||||
| | Self-managed | Self-managed | [Reindex API](/manage-data/migrate/migrate-data-using-reindex-api.md), [Snapshot and restore](/manage-data/migrate/migrate-data-between-elasticsearch-clusters-with-minimal-downtime.md), [{{ls}}](/manage-data/migrate/migrate-with-logstash.md) | | ||||||
|
|
||||||

There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this page is SO GOOD NOW. leagues improved