Skip to content

elasticsearch pending-tasks

Get cluster-level pending tasks

Description

Get elastic search cluster-level changes that have not yet been executed

Synopsis

elasticsearch pending-tasks
    [--site <site>]
    [--cluster <cluster>]
    [--filter_path <filter_path>]

Arguments

site - (string)

     Site where this command will be executed
     Example: --site "site-1"
     Default: input.site      Attributes: optional

cluster - (string)

     Name of elastic search cluster
     Example: --cluster "elastic-default"
     Default: elastic-default      Attributes: optional

filter_path - (string)

     Path in the response. Filters and returns only parts of response matching this path
     Example: --filter_path "index.mappings.properties.*"
     Default: _None_      Attributes: optional, multiple allowed

Examples

Input:

! elasticsearch pending-tasks --cluster "elastic-1"
Output:
{
  "tasks": []
}

Access Control

To use this command, you need access to the following:

Field Value
Action "read"
Service Type "elasticsearch"
Service Instance cluster
Namespace
Object Type "task"
Object ID

Please see Access Control for details.