Skip to content

Commit 9f256e1

Browse files
update links (#2247)
1 parent 686d59c commit 9f256e1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/docset.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ cross_links:
88
- ecs-logging
99
- ecs-logging-python
1010
- elasticsearch
11-
- logstash
11+
- logstash-docs-md
1212
toc:
1313
- toc: reference
1414
- toc: release-notes

docs/reference/logs.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ In order to correlate logs from your app with transactions captured by the Elast
8181

8282
If you’re using structured logging, either [with a custom solution](https://docs.python.org/3/howto/logging-cookbook.html#implementing-structured-logging) or with [structlog](http://www.structlog.org/en/stable/) (recommended), then this is fairly easy. Throw the [JSONRenderer](http://www.structlog.org/en/stable/api.html#structlog.processors.JSONRenderer) in, and use [Filebeat](https://www.elastic.co/blog/structured-logging-filebeat) to pull these logs into Elasticsearch.
8383

84-
Without structured logging the task gets a little trickier. Here we recommend first making sure your LogRecord objects have the elasticapm attributes (see [`logging`](#logging)), and then you’ll want to combine some specific formatting with a Grok pattern, either in Elasticsearch using [the grok processor](elasticsearch://reference/ingestion-tools/enrich-processor/grok-processor.md), or in [logstash with a plugin](logstash://reference/plugins-filters-grok.md).
84+
Without structured logging the task gets a little trickier. Here we recommend first making sure your LogRecord objects have the elasticapm attributes (see [`logging`](#logging)), and then you’ll want to combine some specific formatting with a Grok pattern, either in Elasticsearch using [the grok processor](elasticsearch://reference/enrich-processor/grok-processor.md), or in [logstash with a plugin](logstash-docs-md://lsr/plugins-filters-grok.md).
8585

8686
Say you have a [Formatter](https://docs.python.org/3/library/logging.html#logging.Formatter) that looks like this:
8787

0 commit comments

Comments
 (0)