Duplicate a data view

Duplicating a data view creates an editable copy. Use a copy when you want to try different field formatting or a different index pattern without affecting the original, or when you need a similar data view for another use case.

Duplicating is also how you customize a managed data view. You can't edit a managed data view directly.

  • You need a role with the Data View Management Kibana privilege and the view_index_metadata Elasticsearch privilege. Refer to Defining roles.
  • You need an existing data view to duplicate.
  1. Open Discover or Lens.

    Note

    Duplication isn't available from the Data Views management page.

  2. In the data view menu, select the data view that you want to duplicate.

  3. Still in the data view menu, select Manage this data view. A flyout with more details about the data view opens. For a managed data view, it indicates that you can't edit it directly.

    Manage this data view option

  4. Select Duplicate. A similar flyout opens where you can adjust the settings of the new copy.

  5. Finish your edits, then select Save data view to Kibana or Use without saving.

If you save it to Kibana, the new, editable data view appears in the data view menu and on the Data Views management page, separate from the one you duplicated.