Update ingest-node.asciidoc
Documented `separator` in the `split processor Closes https://github.com/elastic/elasticsearch/issues/17831
This commit is contained in:
parent
ace83d9d2a
commit
a2ab13ddd1
|
@ -1201,16 +1201,19 @@ Splits a field into an array using a separator character. Only works on string f
|
|||
|======
|
||||
| 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
|
||||
|
|
Loading…
Reference in New Issue