---
title: Charmhub | Deploy Elasticsearch using Charmhub - The Open Operator Collection
description: Deploy the latest version of Elasticsearch on any cloud.
url: https://charmhub.io/elasticsearch/actions
---

# Elasticsearch

[Llama (LMA) Charmers](https://charmhub.io/publisher/llama-charmers "View all packages from Llama (LMA) Charmers")

* [Llama (LMA) Charmers](https://charmhub.io/publisher/llama-charmers "View all packages from Llama (LMA) Charmers")

Platform:

20.04

18.04

16.04

14.04

stable 67

```
juju deploy elasticsearch
```

[Learn to deploy on juju >](https://juju.is/docs/juju/manage-applications)

* [disable-shard-allocation](https://charmhub.io/elasticsearch/actions#disable-shard-allocation)
* [enable-shard-allocation](https://charmhub.io/elasticsearch/actions#enable-shard-allocation)
* [get-health](https://charmhub.io/elasticsearch/actions#get-health)
* [list-cluster-settings](https://charmhub.io/elasticsearch/actions#list-cluster-settings)
* [list-indices](https://charmhub.io/elasticsearch/actions#list-indices)
* [list-nodes](https://charmhub.io/elasticsearch/actions#list-nodes)
* [list-shards](https://charmhub.io/elasticsearch/actions#list-shards)
* [recovery-status](https://charmhub.io/elasticsearch/actions#recovery-status)
* [synced-flush](https://charmhub.io/elasticsearch/actions#synced-flush)
* [version](https://charmhub.io/elasticsearch/actions#version)

[Learn about actions >](https://juju.is/docs/juju/action)

* disable-shard-allocation

  Disable shard allocation for all indices

  Params

  + format
    string

    The output format. Either json or yaml (default)
* enable-shard-allocation

  Enable shard allocation for all indices

  Params

  + format
    string

    The output format. Either json or yaml (default)
* get-health

  Show health summary

  Params

  + format
    string

    The output format. Either json, yaml or text (default)
* list-cluster-settings

  List cluster settings

  Params

  + flat-settings
    boolean

    Return settings in flat format
  + format
    string

    The output format. Either json or yaml (default)
  + include-defaults
    boolean

    Include default settings in the output
* list-indices

  List indices

  Params

  + format
    string

    The output format. Either json, yaml or text (default)
* list-nodes

  List nodes in the cluster

  Params

  + format
    string

    The output format. Either json, yaml or text (default)
* list-shards

  List shards

  Params

  + format
    string

    The output format. Either json, yaml or text (default)
* recovery-status

  Show information about shard recoveries, both ongoing and completed

  Params

  + format
    string

    The output format. Either json, yaml or text (default)
* synced-flush

  Stop indexing and perform a synced flush

  Params

  + format
    string

    The output format. Either json or yaml (default)
* version

  Show version details

  Params

  + format
    string

    The output format. Either json or yaml (default)
