Skip to content

Commit

Permalink
Fix missing comma in examples (#27904)
Browse files Browse the repository at this point in the history
Backport to 6.x (6.2)
  • Loading branch information
dadoonet committed Dec 19, 2017
1 parent 233e8c3 commit 0807d12
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions docs/reference/ingest/ingest-node.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -458,7 +458,7 @@ their name. For example:
--------------------------------------------------
{
"set": {
"field": "my_field"
"field": "my_field",
"value": 582.1
}
}
Expand All @@ -471,7 +471,7 @@ On top of this, fields from the source are always accessible via the `_source` p
--------------------------------------------------
{
"set": {
"field": "_source.my_field"
"field": "_source.my_field",
"value": 582.1
}
}
Expand All @@ -491,7 +491,7 @@ The following example sets the `_id` metadata field of a document to `1`:
--------------------------------------------------
{
"set": {
"field": "_id"
"field": "_id",
"value": "1"
}
}
Expand All @@ -517,7 +517,7 @@ The following example adds a field with the name `received`. The value is the in
--------------------------------------------------
{
"set": {
"field": "received"
"field": "received",
"value": "{{_ingest.timestamp}}"
}
}
Expand All @@ -542,7 +542,7 @@ the values of `field_a` and `field_b`.
--------------------------------------------------
{
"set": {
"field": "field_c"
"field": "field_c",
"value": "{{field_a}} {{field_b}}"
}
}
Expand All @@ -556,7 +556,7 @@ to set the index that the document will be indexed into:
--------------------------------------------------
{
"set": {
"field": "_index"
"field": "_index",
"value": "{{geoip.country_iso_code}}"
}
}
Expand All @@ -570,7 +570,7 @@ value of `service` to the value of the field `code`:
--------------------------------------------------
{
"set": {
"field": "{{service}}"
"field": "{{service}}",
"value": "{{code}}"
}
}
Expand Down

0 comments on commit 0807d12

Please sign in to comment.