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
:::image type="content" source="media/how-to-elastic-diagnostic-settings/elastic-kibana-spring-cloud-dashboard.png" alt-text="Screenshot of Elastic / Kibana that shows the search results for Spring Cloud type:dashboard." lightbox="media/how-to-elastic-diagnostic-settings/elastic-kibana-spring-cloud-dashboard.png":::
57
57
58
58
1. Select **[Logs Azure] Azure Spring Apps logs Overview** from the results.
:::image type="content" source="media/how-to-elastic-diagnostic-settings/elastic-kibana-asc-dashboard-full.png" alt-text="Screenshot of Elastic / Kibana that shows the Azure Spring Apps Application Console Logs." lightbox="media/how-to-elastic-diagnostic-settings/elastic-kibana-asc-dashboard-full.png":::
61
61
62
62
1. Search on out-of-the-box Azure Spring Apps dashboards by using the queries such as the following:
63
63
@@ -71,11 +71,11 @@ Application logs provide critical information and verbose logs about your applic
71
71
72
72
1. In Kibana, in the **Search** bar at top, type *Discover*, then select the result.
:::image type="content" source="media/how-to-elastic-diagnostic-settings/elastic-kibana-go-discover.png" alt-text="Screenshot of Elastic / Kibana that shows the search results for Discover." lightbox="media/how-to-elastic-diagnostic-settings/elastic-kibana-go-discover.png":::
75
75
76
76
1. In the **Discover** app, select the **logs-** index pattern if it's not already selected.
77
77
78
-
:::image type="content" source="media/how-to-elastic-diagnostic-settings/elastic-kibana-index-pattern.png" alt-text="Elastic / Kibana screenshot showing logs in the Discover app." lightbox="media/how-to-elastic-diagnostic-settings/elastic-kibana-index-pattern.png":::
78
+
:::image type="content" source="media/how-to-elastic-diagnostic-settings/elastic-kibana-index-pattern.png" alt-text="Screenshot of Elastic / Kibana screenshot that shows the logs page in the Discover app." lightbox="media/how-to-elastic-diagnostic-settings/elastic-kibana-index-pattern.png":::
79
79
80
80
1. Use queries such as the ones in the following sections to help you understand your application's current and past states.
81
81
@@ -89,7 +89,7 @@ To review a list of application logs from Azure Spring Apps, sorted by time with
:::image type="content" source="media/how-to-elastic-diagnostic-settings/elastic-kibana-kql-asc-logs.png" alt-text="Elastic / Kibana screenshot showing Discover app with all logs displayed." lightbox="media/how-to-elastic-diagnostic-settings/elastic-kibana-kql-asc-logs.png":::
92
+
:::image type="content" source="media/how-to-elastic-diagnostic-settings/elastic-kibana-kql-asc-logs.png" alt-text="Screenshot of Elastic / Kibana screenshot that shows the Discover app with all logs displayed." lightbox="media/how-to-elastic-diagnostic-settings/elastic-kibana-kql-asc-logs.png":::
93
93
94
94
### Show specific log types from Azure Spring Apps
95
95
@@ -99,7 +99,7 @@ To review a list of application logs from Azure Spring Apps, sorted by time with
:::image type="content" source="media/how-to-elastic-diagnostic-settings/elastic-kibana-kql-asc-app-console.png" alt-text="Elastic / Kibana screenshot showing Discover app with specific logs displayed." lightbox="media/how-to-elastic-diagnostic-settings/elastic-kibana-kql-asc-app-console.png":::
102
+
:::image type="content" source="media/how-to-elastic-diagnostic-settings/elastic-kibana-kql-asc-app-console.png" alt-text="Screenshot of Elastic / Kibana that shows the Discover app with specific logs displayed." lightbox="media/how-to-elastic-diagnostic-settings/elastic-kibana-kql-asc-app-console.png":::
103
103
104
104
### Show log entries containing errors or exceptions
105
105
@@ -109,7 +109,7 @@ To review unsorted log entries that mention an error or exception, run the follo
109
109
azure_log_forwarder.resource_type : "Microsoft.AppPlatform/Spring" and (log.level : "ERROR" or log.level : "EXCEPTION")
110
110
```
111
111
112
-
:::image type="content" source="media/how-to-elastic-diagnostic-settings/elastic-kibana-kql-asc-error-exception.png" alt-text="Elastic / Kibana screenshot showing Discover app with error and exception logs displayed." lightbox="media/how-to-elastic-diagnostic-settings/elastic-kibana-kql-asc-error-exception.png":::
112
+
:::image type="content" source="media/how-to-elastic-diagnostic-settings/elastic-kibana-kql-asc-error-exception.png" alt-text="Screenshot of Elastic / Kibana that shows the Discover app with error and exception logs displayed." lightbox="media/how-to-elastic-diagnostic-settings/elastic-kibana-kql-asc-error-exception.png":::
113
113
114
114
The Kibana Query Language helps you form queries by providing autocomplete and suggestions to help you gain insights from the logs. Use your query to find errors, or modify the query terms to find specific error codes or exceptions.
115
115
@@ -121,7 +121,7 @@ To review log entries that are generated by a specific service, run the followin
:::image type="content" source="media/how-to-elastic-diagnostic-settings/elastic-kibana-kql-specific-service.png" alt-text="Screenshot of Elastic / Kibana that shows the Discover app with specific-service logs displayed." lightbox="media/how-to-elastic-diagnostic-settings/elastic-kibana-kql-specific-service.png":::
125
125
126
126
### Show Config Server logs containing warnings or errors
127
127
@@ -131,7 +131,7 @@ To review logs from Config Server, run the following query:
131
131
azure.springcloudlogs.properties.type : "ConfigServer" and (log.level : "ERROR" or log.level : "WARN")
132
132
```
133
133
134
-
:::image type="content" source="media/how-to-elastic-diagnostic-settings/elastic-kibana-kql-config-error-exception.png" alt-text="Elastic / Kibana screenshot showing Discover app with Config Server logs displayed." lightbox="media/how-to-elastic-diagnostic-settings/elastic-kibana-kql-config-error-exception.png":::
134
+
:::image type="content" source="media/how-to-elastic-diagnostic-settings/elastic-kibana-kql-config-error-exception.png" alt-text="Screenshot of Elastic / Kibana that shows the Discover app with Config Server logs displayed." lightbox="media/how-to-elastic-diagnostic-settings/elastic-kibana-kql-config-error-exception.png":::
135
135
136
136
### Show Service Registry logs
137
137
@@ -141,7 +141,7 @@ To review logs from Service Registry, run the following query:
:::image type="content" source="media/how-to-elastic-diagnostic-settings/elastic-kibana-kql-service-registry.png" alt-text="Elastic / Kibana screenshot showing Discover app with Service Registry logs displayed." lightbox="media/how-to-elastic-diagnostic-settings/elastic-kibana-kql-service-registry.png":::
144
+
:::image type="content" source="media/how-to-elastic-diagnostic-settings/elastic-kibana-kql-service-registry.png" alt-text="Screenshot of Elastic / Kibana that shows the Discover app with Service Registry logs displayed." lightbox="media/how-to-elastic-diagnostic-settings/elastic-kibana-kql-service-registry.png":::
145
145
146
146
## Visualizing logs from Azure Spring Apps with Elastic
147
147
@@ -153,11 +153,11 @@ Use the following steps to show the various log levels in your logs so you can a
153
153
154
154
1. Select the **log.level** field. From the floating informational panel about **log.level**, select **Visualize**.
:::image type="content" source="media/how-to-elastic-diagnostic-settings/elastic-kibana-asc-visualize.png" alt-text="Screenshot of Elastic / Kibana that shows the Discover app with log levels displayed." lightbox="media/how-to-elastic-diagnostic-settings/elastic-kibana-asc-visualize.png":::
157
157
158
158
1. From here, you can choose to add more data from the left pane, or choose from multiple suggestions how you would like to visualize your data.
:::image type="content" source="media/how-to-elastic-diagnostic-settings/elastic-kibana-visualize-lens.png" alt-text="Screenshot of Elastic / Kibana that shows the Discover app with visualization options." lightbox="media/how-to-elastic-diagnostic-settings/elastic-kibana-visualize-lens.png":::
0 commit comments