Update ingest-node.asciidoc

Documented `separator` in the `split processor

Closes https://github.com/elastic/elasticsearch/issues/17831
This commit is contained in:
Clinton Gormley 2016-04-19 11:11:58 +02:00
parent ace83d9d2a
commit a2ab13ddd1
1 changed files with 6 additions and 3 deletions

View File

@ -1199,18 +1199,21 @@ Splits a field into an array using a separator character. Only works on string f
.Split Options
[options="header"]
|======
| Name | Required | Default | Description
| `field` | yes | - | The field to split
| Name | Required | Default | Description
| `field` | yes | - | The field to split
| `separator` | yes | - | A regex which matches the separator, eg `,` or `\s+`
|======
[source,js]
--------------------------------------------------
{
"split": {
"field": ","
"field": ",",
"separator": "\\s+" <1>
}
}
--------------------------------------------------
<1> Treat all consecutive whitespace characters as a single separator
[[trim-processor]]
=== Trim Processor