﻿---
title: Examples
description: These examples should help illustrate how to build your own actions. You can use environment variables in your configuration files. alias, allocation,...
url: https://www.elastic.co/elastic/docs-builder/docs/2777/reference/elasticsearch/curator/examples
products:
  - Elasticsearch
  - Elasticsearch Curator
---

# Examples
These examples should help illustrate how to build your own [actions](https://www.elastic.co/elastic/docs-builder/docs/2777/reference/elasticsearch/curator/actions).
You can use [environment variables](https://www.elastic.co/elastic/docs-builder/docs/2777/reference/elasticsearch/curator/envvars) in your configuration files.
- [alias](https://www.elastic.co/elastic/docs-builder/docs/2777/reference/elasticsearch/curator/ex_alias)
- [allocation](https://www.elastic.co/elastic/docs-builder/docs/2777/reference/elasticsearch/curator/ex_allocation)
- [close](https://www.elastic.co/elastic/docs-builder/docs/2777/reference/elasticsearch/curator/ex_close)
- [cluster_routing](https://www.elastic.co/elastic/docs-builder/docs/2777/reference/elasticsearch/curator/ex_cluster_routing)
- [create_index](https://www.elastic.co/elastic/docs-builder/docs/2777/reference/elasticsearch/curator/ex_create_index)
- [delete_indices](https://www.elastic.co/elastic/docs-builder/docs/2777/reference/elasticsearch/curator/ex_delete_indices)
- [delete_snapshots](https://www.elastic.co/elastic/docs-builder/docs/2777/reference/elasticsearch/curator/ex_delete_snapshots)
- [forcemerge](https://www.elastic.co/elastic/docs-builder/docs/2777/reference/elasticsearch/curator/ex_forcemerge)
- [open](https://www.elastic.co/elastic/docs-builder/docs/2777/reference/elasticsearch/curator/ex_open)
- [reindex](https://www.elastic.co/elastic/docs-builder/docs/2777/reference/elasticsearch/curator/ex_reindex)
- [replicas](https://www.elastic.co/elastic/docs-builder/docs/2777/reference/elasticsearch/curator/ex_replicas)
- [restore](https://www.elastic.co/elastic/docs-builder/docs/2777/reference/elasticsearch/curator/ex_restore)
- [rollover](https://www.elastic.co/elastic/docs-builder/docs/2777/reference/elasticsearch/curator/ex_rollover)
- [shrink](https://www.elastic.co/elastic/docs-builder/docs/2777/reference/elasticsearch/curator/ex_shrink)
- [snapshot](https://www.elastic.co/elastic/docs-builder/docs/2777/reference/elasticsearch/curator/ex_snapshot)