Skip to content

Commit

Permalink
Review feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
abdonpijpelink committed Nov 3, 2023
1 parent ef98e99 commit e02acec
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions docs/reference/esql/esql-get-started.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -198,10 +198,10 @@ rows.
[[esql-getting-started-eval]]
=== Compute values

Use the <<esql-eval>> command to append rows to a table, with calculated values.
For example, the following query appends a `duration_ms` column. The values in
the column are computed by dividing `event.duration` by 1,000,000. In other
words: `event.duration` converted from nanoseconds to milliseconds.
Use the <<esql-eval>> command to append columns to a table, with calculated
values. For example, the following query appends a `duration_ms` column. The
values in the column are computed by dividing `event.duration` by 1,000,000. In
other words: `event.duration` converted from nanoseconds to milliseconds.

[source,esql]
----
Expand Down Expand Up @@ -360,7 +360,7 @@ command:
FROM sample_data
| KEEP @timestamp, client.ip, event.duration
| EVAL client.ip = TO_STRING(client.ip)
| ENRICH clientip_policy
| ENRICH clientip_policy ON client.ip WITH env
----

You can use the new `env` column that's added by the `ENRICH` command in
Expand All @@ -372,7 +372,7 @@ environment:
FROM sample_data
| KEEP @timestamp, client.ip, event.duration
| EVAL client.ip = TO_STRING(client.ip)
| ENRICH clientip_policy
| ENRICH clientip_policy ON client.ip WITH env
| STATS median_duration = MEDIAN(event.duration) BY env
----

Expand Down Expand Up @@ -412,7 +412,7 @@ FROM sample_data
This adds a `server.ip` column to those rows that have a `message` that matches
this pattern. For other rows, the value of `server.ip` is `null`.

You can use the new `server.ip` column that's added by the `ENRICH` command in
You can use the new `server.ip` column that's added by the `DISSECT` command in
subsequent commands. For example, to determine how many connections each server
has accepted:

Expand Down

0 comments on commit e02acec

Please sign in to comment.