OpenSearch/docs/reference
Igor Motov c75ac319a6
Add ability to associate an ID with tasks (#27764)
Adds support for capturing the X-Opaque-Id header from a REST request and storing it's value in the tasks that this request started. It works for all user-initiated tasks (not only search).

Closes #23250

Usage:
```
$ curl -H "X-Opaque-Id: imotov" -H "foo:bar" "localhost:9200/_tasks?pretty&group_by=parents"
{
  "tasks" : {
    "7qrTVbiDQKiZfubUP7DPkg:6998" : {
      "node" : "7qrTVbiDQKiZfubUP7DPkg",
      "id" : 6998,
      "type" : "transport",
      "action" : "cluster:monitor/tasks/lists",
      "start_time_in_millis" : 1513029940042,
      "running_time_in_nanos" : 266794,
      "cancellable" : false,
      "headers" : {
        "X-Opaque-Id" : "imotov"
      },
      "children" : [
        {
          "node" : "V-PuCjPhRp2ryuEsNw6V1g",
          "id" : 6088,
          "type" : "netty",
          "action" : "cluster:monitor/tasks/lists[n]",
          "start_time_in_millis" : 1513029940043,
          "running_time_in_nanos" : 67785,
          "cancellable" : false,
          "parent_task_id" : "7qrTVbiDQKiZfubUP7DPkg:6998",
          "headers" : {
            "X-Opaque-Id" : "imotov"
          }
        },
        {
          "node" : "7qrTVbiDQKiZfubUP7DPkg",
          "id" : 6999,
          "type" : "direct",
          "action" : "cluster:monitor/tasks/lists[n]",
          "start_time_in_millis" : 1513029940043,
          "running_time_in_nanos" : 98754,
          "cancellable" : false,
          "parent_task_id" : "7qrTVbiDQKiZfubUP7DPkg:6998",
          "headers" : {
            "X-Opaque-Id" : "imotov"
          }
        }
      ]
    }
  }
}
```
2018-01-12 15:34:17 -05:00
..
aggregations [DOCS] Removed differencies between text and code (#27993) 2018-01-12 10:36:48 -05:00
analysis Allow `_doc` as a type. (#27816) 2017-12-14 17:47:53 +01:00
cat [Docs] Unify spelling of Elasticsearch (#27567) 2017-11-29 09:44:25 +01:00
cluster Add ability to associate an ID with tasks (#27764) 2018-01-12 15:34:17 -05:00
docs Add scroll parameter to _reindex API (#28041) 2018-01-11 14:40:04 +01:00
how-to Allow `_doc` as a type. (#27816) 2017-12-14 17:47:53 +01:00
images Docs/windows installer (#27369) 2017-11-15 21:35:54 +11:00
index-modules Allow `_doc` as a type. (#27816) 2017-12-14 17:47:53 +01:00
indices Allow `_doc` as a type. (#27816) 2017-12-14 17:47:53 +01:00
ingest Enable convert processor to support Long and Double. (#27957) 2018-01-03 11:27:55 +01:00
mapping docs: add best practises for wildcard queries inside percolator queries 2017-12-15 10:49:59 +01:00
migration Introduce limit to the number of terms in Terms Query (#27968) 2017-12-28 17:36:29 -05:00
modules Allow `_doc` as a type. (#27816) 2017-12-14 17:47:53 +01:00
query-dsl Update fuzzy-query.asciidoc (#28032) 2018-01-01 08:44:04 +01:00
release-notes Migrate migration docs from 6.0 to 7.0 (#26227) 2017-08-16 13:12:44 -06:00
search [Docs] Correct response json in rank-eval.asciidoc 2018-01-11 15:52:11 +01:00
setup Docs: Clarify password protection support with keystore (#28157) 2018-01-09 15:01:37 -08:00
testing [Docs] Unify spelling of Elasticsearch (#27567) 2017-11-29 09:44:25 +01:00
upgrade [DOCS] Fixed typos and broken attribute. 2017-12-05 11:46:40 -08:00
aggregations.asciidoc Update aggregation.asciidoc (#24042) 2017-04-11 09:02:38 -04:00
analysis.asciidoc Allow `_doc` as a type. (#27816) 2017-12-14 17:47:53 +01:00
api-conventions.asciidoc [Docs] Fix Date Math example descriptions (#28125) 2018-01-08 16:58:12 +01:00
cat.asciidoc Enforce that responses in docs are valid json (#26249) 2017-08-17 09:02:10 -04:00
cluster.asciidoc [docs] include two cluster doc pages missing from index (#25180) 2017-06-12 12:33:56 -07:00
docs.asciidoc Inclusion of link to Multi Delete (#22619) 2017-01-16 12:58:59 +01:00
getting-started.asciidoc Update getting-started.asciidoc (#28145) 2018-01-12 10:21:16 -05:00
glossary.asciidoc [Docs] Unify spelling of Elasticsearch (#27567) 2017-11-29 09:44:25 +01:00
gs-index.asciidoc [DOCS] Adding index file for GS "mini book". 2017-07-18 13:44:08 -07:00
how-to.asciidoc Correct grammar in list in how-to docs 2017-01-17 20:57:22 -05:00
index-modules.asciidoc Introduce limit to the number of terms in Terms Query (#27968) 2017-12-28 17:36:29 -05:00
index-shared1.asciidoc [DOCS] Added link to upgrade guide and bumped the upgrade topic up to the top level (#27621) 2017-12-05 10:58:52 -08:00
index-shared2.asciidoc [DOCS] Added index-shared4 and index-shared5.asciidoc 2017-09-20 10:54:26 -07:00
index-shared3.asciidoc [DOCS] Added index-shared4 and index-shared5.asciidoc 2017-09-20 10:54:26 -07:00
index-shared4.asciidoc [DOCS] Added index-shared4 and index-shared5.asciidoc 2017-09-20 10:54:26 -07:00
index-shared5.asciidoc [DOCS] Added index-shared4 and index-shared5.asciidoc 2017-09-20 10:54:26 -07:00
index.asciidoc [DOCS] Added index-shared4 and index-shared5.asciidoc 2017-09-20 10:54:26 -07:00
indices.asciidoc add split index reference in indices.asciidoc 2017-11-06 12:55:41 +01:00
ingest.asciidoc Allow `_doc` as a type. (#27816) 2017-12-14 17:47:53 +01:00
mapping.asciidoc Limit the number of nested documents (#27405) 2017-11-22 10:16:28 -05:00
modules.asciidoc [DOCS] Remove edit link from ML node 2017-09-14 16:18:29 -07:00
query-dsl.asciidoc Update query-dsl.asciidoc (#27669) 2017-12-11 18:06:08 +01:00
redirects.asciidoc Mark filtered query example as not to be used (#25661) 2017-07-14 11:45:21 +02:00
release-notes.asciidoc Migrate migration docs from 6.0 to 7.0 (#26227) 2017-08-16 13:12:44 -06:00
search.asciidoc Allow `_doc` as a type. (#27816) 2017-12-14 17:47:53 +01:00
setup.asciidoc Clarify using supported LTS versions of the Java 2017-12-14 07:47:50 -05:00
testing.asciidoc [Docs] Unify spelling of Elasticsearch (#27567) 2017-11-29 09:44:25 +01:00
upgrade.asciidoc [Docs] Clarify version for restoring old indices. (#27800) 2017-12-15 09:42:36 +01:00