Skip to content

Commit

Permalink
Fix Filebeat dissect processor field tokenization in documentation (#…
Browse files Browse the repository at this point in the history
…29680)

Signed-off-by: inge4pres <[email protected]>
  • Loading branch information
inge4pres authored Jan 18, 2022
1 parent 660a02e commit e1ca29d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions libbeat/processors/dissect/docs/dissect.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -74,14 +74,14 @@ For this example, imagine that an application generates the following messages:
"789 - App02 - Database is refreshing tables"
----

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

[source,yaml]
----
processors:
- dissect:
tokenizer: '"%{pid|integer} - %{service.name} - %{service.status}"'
tokenizer: '"%{service.pid|integer} - %{service.name} - %{service.status}"'
field: "message"
target_prefix: ""
----
Expand All @@ -98,7 +98,7 @@ This configuration produces fields like:
----

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

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

0 comments on commit e1ca29d

Please sign in to comment.