Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

tasks

Elasticsearch tasks endpoints


Description

Elasticsearch tasks endpoints

Usage

tasks(
  conn,
  task_id = NULL,
  nodes = NULL,
  actions = NULL,
  parent_task_id = NULL,
  detailed = FALSE,
  group_by = NULL,
  wait_for_completion = FALSE,
  timeout = NULL,
  raw = FALSE,
  ...
)

tasks_cancel(
  conn,
  node_id = NULL,
  task_id = NULL,
  nodes = NULL,
  actions = NULL,
  parent_task_id = NULL,
  detailed = FALSE,
  group_by = NULL,
  wait_for_completion = FALSE,
  timeout = NULL,
  raw = FALSE,
  ...
)

Arguments

conn

an Elasticsearch connection object, see connect()

task_id

a task id

nodes

(character) The nodes

actions

(character) Actions

parent_task_id

(character) A parent task ID

detailed

(character) get detailed results. Default: FALSE

group_by

(character) "nodes" (default, i.e., NULL) or "parents"

wait_for_completion

(logical) wait for completion. Default: FALSE

timeout

(integer) timeout time

raw

If TRUE (default), data is parsed to list. If FALSE, then raw JSON.

...

Curl args passed on to crul::verb-GET or crul::verb-POST

node_id

a node id

References

Examples

## Not run: 
x <- connect()

tasks(x)
# tasks(x, parent_task_id = "1234")

# delete a task
# tasks_cancel(x)

## End(Not run)

elastic

General Purpose Interface to 'Elasticsearch'

v1.2.0
MIT + file LICENSE
Authors
Scott Chamberlain [aut, cre] (<https://orcid.org/0000-0003-1444-9135>)
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.