You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/en/s4r/7-log-observer/1-log-filtering.md
+3-6Lines changed: 3 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,9 +3,9 @@ title: 1. Log Filtering
3
3
weight: 1
4
4
---
5
5
6
-
Log Observer, or LO for short, can be used in multiple ways. In the quick tour, you used the LO **no-code interface** to search for specific entries in the logs. This section, however, assumes you have arrived in LO from a trace in APM using the **Related Content** link.
6
+
**Log Observer (LO)**, can be used in multiple ways. In the quick tour, you used the LO **no-code interface** to search for specific entries in the logs. This section, however, assumes you have arrived in LO from a trace in APM using the **Related Content** link.
7
7
8
-
The advantage of this is, as it was with the link between RUM & APM, that you are looking at your logs within the context of your previous actions. In this case, the context is the time frame **(1)**, which matches that of the trace and the filter **(2)** which is set to the **trace_id**.
8
+
The advantage of this is, as it was with the link between RUM & APM, that you are looking at your logs within the context of your previous actions. In this case, the context is the time frame (**1**), which matches that of the trace and the filter (**2**) which is set to the **trace_id**.
@@ -19,12 +19,9 @@ We need to focus on just the Error messages in the logs:
19
19
20
20
* Click on the **Group By** drop-down box and use the filter to find **Severity**.
21
21
* Once selected click the {{% button style="blue" %}}Apply{{% /button %}} button (notice that the chart legend changes to show debug, error and info).
22
-
23
22

24
-
25
23
* Selecting just the error logs can be done by either clicking on the word error **(1)** in the legend, followed by selecting **Add to filter** or by adding `severity=error` directly in the filter box.
26
-
* You could also add the service name, `sf_service=paymentservice`, to the filter if there are error lines for multiple services, but in our case, this is not really necessary.
27
-
24
+
* You could also add the service name, `sf_service=paymentservice`, to the filter if there are error lines for multiple services, but in our case, this is not necessary.
Copy file name to clipboardExpand all lines: content/en/s4r/7-log-observer/2-log-entry.md
+3-25Lines changed: 3 additions & 25 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,31 +5,9 @@ weight: 2
5
5
6
6
Before we look at a specific log line, let's quickly recap what we have done so far and why we are here based on the 3 pillars of Observability:
7
7
8
-
{{< mermaid >}}
9
-
10
-
---
11
-
title: The 3 Pillars of Observability
12
-
13
-
---
14
-
15
-
%%{
16
-
init:{
17
-
"theme": "neutral",
18
-
"themeVariables": {
19
-
"lineColor": "#ffffff"
20
-
}
21
-
}
22
-
}%%
23
-
24
-
graph LR;
25
-
A["`_Metrics_
26
-
**Do I have a problem?**`"]
27
-
B["`_Traces_
28
-
**Where is the problem?**`"]
29
-
C["`_Logs_
30
-
**What is the problem?**`"]
31
-
A --> B --> C
32
-
{{< /mermaid >}}
8
+
| Metrics | Traces | Logs |
9
+
|:-------:|:------:|:----:|
10
+
|_**Do I have a problem?**_|_**Where is the problem?**_|_**What is the problem?**_|
33
11
34
12
* Using metrics we identified **we have a problem** with our application. This was obvious from the error rate in the Service Dashboards as it was higher than it should be.
35
13
* Using traces and span tags we found **where the problem is**. The **paymentservice** comprises of two versions, `v350.9` and `v350.10`, and the error rate was **100%** for `v350.10`.
Copy file name to clipboardExpand all lines: content/en/s4r/7-log-observer/3-log-timeline-chart.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,7 +21,7 @@ First, we will reduce the amount of information to just the columns we are inter
21
21
* Click **Save** and select **Save to Dashboard**.
22
22

23
23
* In the chart creation dialog box that appears, enter the **Chart name**, this will be the name of the chart on the dashboard. Use the following format: `Initials - Log Timeline Chart`
24
-
* Ensure **Log Timeline** is selected as the **Chart Type**.
24
+
* Ensure that **Log Timeline** is selected as the **Chart Type**.
* Click {{% button style="blue" %}}Select Dashboard{{% /button %}} and then click {{% button style="blue" %}}New Dashboard{{% /button %}} in the Dashboard Selection dialog box.
27
27
* In the **New dashboard** dialog box, enter a name for the new dashboard (no need to enter a description). Use the following format: `Initials - Service Health Dashboard` and click {{% button style="blue" %}}Save{{% /button %}}
0 commit comments