Skip to content

Commit 54e6992

Browse files
qa devtools
1 parent 6738c08 commit 54e6992

File tree

7 files changed

+23
-12
lines changed

7 files changed

+23
-12
lines changed

serverless/images/es-badge.svg

Lines changed: 1 addition & 1 deletion
Loading

serverless/images/obs-badge.svg

Lines changed: 1 addition & 1 deletion
Loading

serverless/images/sec-badge.svg

Lines changed: 3 additions & 3 deletions
Loading

serverless/pages/devtools/debug-grok-expressions.asciidoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ This example walks you through using the **Grok Debugger**.
4040
[NOTE]
4141
====
4242
The **Admin** role is required to use the Grok Debugger.
43-
For more information, refer to https://www.elastic.co/docs/current/serverless/general/assign-user-roles[]
43+
For more information, refer to <<general-assign-user-roles>>
4444
====
4545

4646
. From the main menu, click **Developer Tools**, then click **Grok Debugger**.

serverless/pages/devtools/developer-tools-troubleshooting.asciidoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ GET /my-index-000001/_count
163163
}
164164
----
165165

166-
If the field is aggregatable, you can use https://www.elastic.co/docs/current/serverless/elasticsearch/explore-your-data-aggregations[aggregations]
166+
If the field is aggregatable, you can use <<elasticsearch-explore-your-data-aggregations,aggregations>>
167167
to check the field's values. For `keyword` fields, you can use a `terms`
168168
aggregation to retrieve the field's most common values:
169169

@@ -288,7 +288,7 @@ GET /my-index-000001/_settings
288288
You can update dynamic index settings with the
289289
https://www.elastic.co/docs/api/doc/elasticsearch-serverless/operation/operation-indices-put-settings[**Update index settings API**].
290290
Changing dynamic index settings for a data stream
291-
requires changing the index template used by the data stream.
291+
requires changing the index template used by the data stream.
292292

293293
For static settings, you need to create a new index with the correct settings.
294294
Next, you can reindex the data into that index.

serverless/pages/devtools/general-developer-tools.asciidoc

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,17 +8,24 @@ preview:[]
88

99
| <<devtools-run-api-requests-in-the-console,Console>>
1010
| Interact with Elastic REST APIs.
11-
| {es-badge}{obs-badge}{sec-badge}
11+
| {es-badge} +
12+
{obs-badge} +
13+
{sec-badge}
1214

1315
| <<devtools-profile-queries-and-aggregations,{searchprofiler}>>
1416
| Inspect and analyze your search queries.
15-
| {es-badge}{obs-badge}{sec-badge}
17+
| {es-badge} +
18+
{obs-badge} +
19+
{sec-badge}
1620

1721
| <<devtools-debug-grok-expressions,Grok Debugger>>
1822
| Build and debug grok patterns before you use them in your data processing pipelines.
19-
| {es-badge}{obs-badge}{sec-badge}
23+
| {es-badge} +
24+
{obs-badge} +
25+
{sec-badge}
2026

2127
| <<devtools-debug-painless-scripts,Painless Lab>>
2228
| Use an interactive code editor to test and debug Painless scripts in real time.
23-
| {obs-badge}{sec-badge}
29+
| {obs-badge} +
30+
{sec-badge}
2431
|===

serverless/pages/devtools/profile-queries-and-aggregations.asciidoc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,17 +142,21 @@ components and includes a simple aggregation:
142142
[role="screenshot"]
143143
image::images/profiler-gs8.png[Profiling the more complicated query]
144144
+
145+
--
145146
** The top `BooleanQuery` component corresponds to the `bool` in the query.
146147
** The second `BooleanQuery` corresponds to the `terms` query, which is internally
147148
converted to a `Boolean` of `should` clauses. It has two child queries that correspond
148149
to "sally" and "sue from the `terms` query.
149150
** The `TermQuery` that's labeled with "name:fred" corresponds to `match: fred` in the query.
151+
--
150152
+
151153
In the time columns, the **Self time** and **Total time** are no longer
152154
identical on all rows:
153155
+
156+
--
154157
** **Self time** represents how long the query component took to execute.
155158
** **Total time** is the time a query component and all its children took to execute.
159+
--
156160
+
157161
Therefore, queries like the Boolean queries often have a larger total time than self time.
158162
. Select **Aggregation Profile** to view aggregation profiling statistics.

0 commit comments

Comments
 (0)