Skip to content

Commit bc21f5d

Browse files
committed
correct apostrophe usage in Node.js ECS logging documentation
1 parent 592f332 commit bc21f5d

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

docs/reference/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ mapped_pages:
99

1010
# ECS Logging Node.js [intro]
1111

12-
Node.js ECS loggers are formatter plugins for your favorite logging libraries. They make it easy to format your logs into ECS-compatible JSON. In combination with [filebeat](https://www.elastic.co/products/beats/filebeat) you can send your logs directly to Elasticsearch and leverage [Kibanas Logs app](docs-content://solutions/observability/logs/explore-logs.md) to inspect all logs in one single place.
12+
Node.js ECS loggers are formatter plugins for your favorite logging libraries. They make it easy to format your logs into ECS-compatible JSON. In combination with [filebeat](https://www.elastic.co/products/beats/filebeat) you can send your logs directly to Elasticsearch and leverage [Kibana's Logs app](docs-content://solutions/observability/logs/explore-logs.md) to inspect all logs in one single place.
1313

1414
The Node.js ECS logging formatters log structured JSON and support serialization of Error objects and HTTP Request and Response objects from Node.js core and popular web frameworks. A minimal log record includes the following fields:
1515

@@ -33,5 +33,5 @@ Ready to jump into Node.js ECS logging?
3333
* [ECS Logging with Winston](/reference/winston.md)
3434
* [ECS Logging with Morgan](/reference/morgan.md)
3535

36-
If youd like to try out a tutorial using Node.js ECS logging with winston, see [Ingest logs from a Node.js web application using Filebeat](docs-content://manage-data/ingest/ingesting-data-from-applications/ingest-logs-from-nodejs-web-application-using-filebeat.md).
36+
If you'd like to try out a tutorial using Node.js ECS logging with winston, see [Ingest logs from a Node.js web application using Filebeat](docs-content://manage-data/ingest/ingesting-data-from-applications/ingest-logs-from-nodejs-web-application-using-filebeat.md).
3737

docs/reference/pino.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ log.error({ err: new Error('boom') }, 'oops there is a problem');
3333
// ...
3434
```
3535

36-
1. This will [configure](https://getpino.io/#/docs/api?id=options) Pinos `formatters`, `messageKey` and `timestamp` options.
36+
1. This will [configure](https://getpino.io/#/docs/api?id=options) Pino's `formatters`, `messageKey` and `timestamp` options.
3737

3838

3939
See usage discussion and examples below.
@@ -193,7 +193,7 @@ will yield (pretty-printed for readability):
193193
}
194194
```
195195

196-
This is analogous to and overrides [Pinos default err serializer](https://getpino.io/#/docs/api?id=serializers-object). Special handling of the `err` field can be disabled via the `convertErr: false` option:
196+
This is analogous to and overrides [Pino's default err serializer](https://getpino.io/#/docs/api?id=serializers-object). Special handling of the `err` field can be disabled via the `convertErr: false` option:
197197

198198
```js
199199
const log = pino(ecsFormat({ convertErr: false }));

docs/reference/winston.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ Running this script (available [here](https://github.com/elastic/ecs-logging-nod
176176
{"@timestamp":"2023-10-14T02:14:17.304Z","log.level":"error","message":"oops there is a problem","ecs.version":"8.10.0","foo":"bar"}
177177
```
178178

179-
The formatter handles serialization to JSON, so you dont need to add the [json](https://github.com/winstonjs/logform#json) formatter. As well, a timestamp is automatically generated by the formatter, so you dont need to add the [timestamp](https://github.com/winstonjs/logform#timestamp) formatter.
179+
The formatter handles serialization to JSON, so you don't need to add the [json](https://github.com/winstonjs/logform#json) formatter. As well, a timestamp is automatically generated by the formatter, so you don't need to add the [timestamp](https://github.com/winstonjs/logform#timestamp) formatter.
180180

181181

182182
## Error logging [winston-error-logging]

0 commit comments

Comments
 (0)