summaryrefslogtreecommitdiff
path: root/docs/reference/ingest
diff options
context:
space:
mode:
authorTal Levy <JubBoy333@gmail.com>2016-12-20 10:52:17 -0800
committerGitHub <noreply@github.com>2016-12-20 10:52:17 -0800
commitad4b1ecdebf7abc19b1faa6577844425088a5719 (patch)
tree54986e76215dd85d6b3377edbcdf5e59c13d845d /docs/reference/ingest
parentad4405f24478065f7936ab6a5e35a468bb51b7fd (diff)
[docs] update ingest-node delete docs to mention wildcarding (#22270)
Diffstat (limited to 'docs/reference/ingest')
-rw-r--r--docs/reference/ingest/ingest-node.asciidoc32
1 files changed, 31 insertions, 1 deletions
diff --git a/docs/reference/ingest/ingest-node.asciidoc b/docs/reference/ingest/ingest-node.asciidoc
index 3cdcfd5d2c..8d5dbfe210 100644
--- a/docs/reference/ingest/ingest-node.asciidoc
+++ b/docs/reference/ingest/ingest-node.asciidoc
@@ -143,7 +143,7 @@ This should give a small response that makes it both easy and inexpensive to par
[[delete-pipeline-api]]
=== Delete Pipeline API
-The delete pipeline API deletes pipelines by ID.
+The delete pipeline API deletes pipelines by ID or wildcard match (`my-*`, `*`).
[source,js]
--------------------------------------------------
@@ -152,6 +152,36 @@ DELETE _ingest/pipeline/my-pipeline-id
// CONSOLE
// TEST[continued]
+////
+Hidden setup for wildcard test:
+[source,js]
+--------------------------------------------------
+PUT _ingest/pipeline/wild-one
+{
+ "description" : "first pipeline to be wildcard deleted",
+ "processors" : [ ]
+}
+
+PUT _ingest/pipeline/wild-two
+{
+ "description" : "second pipeline to be wildcard deleted",
+ "processors" : [ ]
+}
+
+DELETE _ingest/pipeline/*
+--------------------------------------------------
+// CONSOLE
+
+Hidden expected response:
+[source,js]
+--------------------------------------------------
+{
+"acknowledged": true
+}
+--------------------------------------------------
+// TESTRESPONSE
+////
+
[[simulate-pipeline-api]]
=== Simulate Pipeline API