Skip to content

Commit aca7e7e

Browse files
committed
Fixes based on review
1 parent ca256f9 commit aca7e7e

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

manage-data/ingest/ingesting-data-from-applications/ingest-logs-from-python-application-using-filebeat.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ products:
1111

1212
# Ingest logs from a Python application using Filebeat
1313

14-
This guide demonstrates how to ingest logs from a Python application and deliver them securely into an {{ech}} deployment. You’ll set up Filebeat to monitor a JSON-structured log file with fields formatted according to the Elastic Common Schema (ECS). You’ll then view real-time visualizations of the log events in {{kib}} as they occur. While Python is used for this example, this approach to monitoring log output is applicable across many client types. Check the list of [available ECS logging plugins](ecs-logging://reference/intro.md).
14+
This guide shows how to ingest logs from a Python application and deliver them securely into an {{ech}} deployment. You’ll set up Filebeat to monitor a JSON-structured log file with fields formatted according to the Elastic Common Schema (ECS). You’ll then view real-time visualizations of the log events in {{kib}} as they occur. While Python is used for this example, this approach to monitoring log output is applicable across many client types. Check the list of [available ECS logging plugins](ecs-logging://reference/intro.md).
1515

1616
In this guide, you will:
1717

@@ -264,7 +264,7 @@ You can use a wildcard (`*`) character to indicate that all log files in the spe
264264

265265
### Add the JSON input options
266266

267-
Filebeat’s `filestream` input configuration includes several options for decoding logs structured as JSON messages. These options can be set in `parsers.ndjson`. Filebeat processes the logs line by line, so it’s important that they contain one JSON object per line.
267+
Filebeat’s `filestream` input configuration includes several options for decoding logs structured as JSON messages. You can set these options in `parsers.ndjson`. Filebeat processes the logs line by line, so it’s important that they contain one JSON object per line.
268268

269269
For this example, set Filebeat to use the `ndjson` parser with the following decoding options:
270270

@@ -346,7 +346,7 @@ Filebeat is now set to collect log messages and stream them to your deployment.
346346

347347
## Send Python logs to {{es}} [ec-python-logs-send-ess]
348348

349-
It’s time to send some log data into {{es}}!
349+
It’s time to send some log data into {{es}}.
350350

351351
### Launch Filebeat and `elvis.py`
352352

@@ -394,7 +394,7 @@ Now you can create visualizations based off of the Python application log data:
394394
1. In the main menu, select **Dashboards****Create dashboard**.
395395
2. Select **Create visualization**. The [Lens](../../../explore-analyze/visualize/lens.md) visualization editor opens.
396396
3. In the **Data view** dropdown box, select _filebeat-*_, if it isn’t already selected.
397-
4. In the dropdown that set the visualization type, select **Bar** and **Stacked**, if they aren’t already selected.
397+
4. In the menu for setting the visualization type, select **Bar** and **Stacked**, if they aren’t already selected.
398398
5. Check that the [time filter](../../../explore-analyze/query-filter/filtering.md) is set to **Last 15 minutes**.
399399
6. From the **Available fields** list, drag and drop the `@timestamp` field onto the visualization builder.
400400
7. Drag and drop the `log.level` field onto the visualization builder.
@@ -409,7 +409,7 @@ Now you can create visualizations based off of the Python application log data:
409409
Let’s create a second visualization:
410410

411411
1. Select **Create visualization**.
412-
2. In the dropdown that set the visualization type, select **Bar** and **Stacked**, if they aren’t already selected.
412+
2. In the menu for setting the visualization type, select **Bar** and **Stacked**, if they aren’t already selected.
413413
3. From the **Available fields** list, drag and drop the `@timestamp` field onto the visualization builder.
414414
4. Drag and drop the `http.request.body.content` field onto the visualization builder.
415415
5. In the chart settings area under **Breakdown**, select **Top values of http.request.body.content**.
@@ -423,7 +423,7 @@ Let’s create a second visualization:
423423
Now, create one final visualization:
424424

425425
1. Select **Create visualization**.
426-
2. In the dropdown that set the visualization type, select **Pie**.
426+
2. In the menu for setting the visualization type,, select **Pie**.
427427
3. From the **Available fields** list, drag and drop the `log.level` field onto the visualization builder. A pie chart appears.
428428

429429
![A screen capture of a pie chart divided into four sections](/manage-data/images/cloud-ec-python-logs-donut.png "")

0 commit comments

Comments
 (0)