Skip to content

Commit

Permalink
ingest: documentation for the drop processor (#34570)
Browse files Browse the repository at this point in the history
  • Loading branch information
jakelandis authored and kcm committed Oct 30, 2018
1 parent eddbc98 commit 11ca5e3
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions docs/reference/ingest/ingest-node.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -1260,6 +1260,21 @@ Reference key modifier example
* error = REFUSED
|======

[[drop-processor]]
=== Drop Processor
Drops the document without raising any errors. This is useful to prevent the document from
getting indexed based on some condition.

[source,js]
--------------------------------------------------
{
"drop": {
"if" : "ctx.network_name == 'Guest'"
}
}
--------------------------------------------------
// NOTCONSOLE

[[dot-expand-processor]]
=== Dot Expander Processor

Expand Down

0 comments on commit 11ca5e3

Please sign in to comment.