Skip to content

Commit 87cc0f9

Browse files
Fix Filebeat dissect processor field tokenization in documentation (#29680) (#29883)
Signed-off-by: inge4pres <[email protected]> (cherry picked from commit e1ca29d) Co-authored-by: Francesco Gualazzi <[email protected]>
1 parent 84bf434 commit 87cc0f9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

libbeat/processors/dissect/docs/dissect.asciidoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -74,14 +74,14 @@ For this example, imagine that an application generates the following messages:
7474
"789 - App02 - Database is refreshing tables"
7575
----
7676

77-
Use the `dissect` processor to split each message into two fields, for example,
77+
Use the `dissect` processor to split each message into three fields, for example, `service.pid`,
7878
`service.name` and `service.status`:
7979

8080
[source,yaml]
8181
----
8282
processors:
8383
- dissect:
84-
tokenizer: '"%{pid|integer} - %{service.name} - %{service.status}"'
84+
tokenizer: '"%{service.pid|integer} - %{service.name} - %{service.status}"'
8585
field: "message"
8686
target_prefix: ""
8787
----
@@ -98,7 +98,7 @@ This configuration produces fields like:
9898
----
9999

100100
`service.name` is an ECS {ref}/keyword.html[keyword field], which means that you
101-
can use it in {es} for filtering, sorting, and aggregations.
101+
can use it in {es} for filtering, sorting, and aggregations.
102102

103103
When possible, use ECS-compatible field names. For more information, see the
104104
{ecs-ref}/index.html[Elastic Common Schema] documentation.

0 commit comments

Comments
 (0)