Skip to content

Commit b0995c6

Browse files
authored
Merge branch 'main' into leemthompo/move-syntax-guide
2 parents 2373bc4 + f7c4eb6 commit b0995c6

22 files changed

+130
-287
lines changed

deploy-manage/deploy/cloud-enterprise/deployment-templates.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ The system deployment templates available by default are:
4545

4646
* **Elastic Observability template**
4747

48-
This template allows you to consolidate your logs, metrics, application traces, and system availability with purpose-built UIs. Check the [**Elastic Observability**](../../../solutions/observability/get-started/what-is-elastic-observability.md) documentation for more information.
48+
This template allows you to consolidate your logs, metrics, application traces, and system availability with purpose-built UIs. Check the [**Elastic Observability**](/solutions/observability.md) documentation for more information.
4949

5050
## Instance configurations [ece-getting-started-instance-configurations]
5151

explore-analyze/_snippets/import-discover-query-controls-into-dashboard.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
To add a Discover query to a dashboard in a way that preserves the [controls created from Discover](/explore-analyze/discover/try-esql.md#add-variable-control-discover) and also adds them to the dashboard, do as follows:
1+
To add a Discover query to a dashboard in a way that preserves the [controls created from Discover](/explore-analyze/discover/try-esql.md#add-variable-control) and also adds them to the dashboard, do as follows:
22

33
1. Save the {{esql}} query containing the variable control into a Discover session. If your Discover session contains several tabs, only the first tab will be imported to the dashboard.
44

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
You can create controls that let users select multiple values. To do that:
2+
3+
1. Add the [`MV_CONTAINS`](elasticsearch://reference/query-languages/esql/functions-operators/mv-functions.md#esql-mv_contains) function to your query, and [create a variable](#add-variable-control) as one of its parameters. For example:
4+
5+
```esql
6+
FROM logs-* | WHERE MV_CONTAINS(?values, field)
7+
```
8+
9+
:::{note}
10+
Multi-selection is only available for `?values` variables. It is not available for `??fields` and `??functions` variables.
11+
:::
12+
13+
2. When defining the control, select the **Allow multiple selections** option.
14+
15+
3. Save the control.
16+
17+
The newly configured control becomes available and allows users to select multiple values.

explore-analyze/_snippets/variable-control-form.md

Lines changed: 0 additions & 11 deletions
This file was deleted.
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
1. While you edit your {{esql}} query, the autocomplete menu suggests adding a control when relevant or when you type `?` in the query. Select **Create control**.
2+
3+
![ESQL query prompting to add a control](/explore-analyze/images/esql-visualization-control-suggestion.png " =40%")
4+
5+
2. A menu opens to let you configure the control. This is where you can specify:
6+
7+
* The type of the control.
8+
* For controls with **Static values**, enter available controls manually or select them from the dropdown list.
9+
* For controls with **Values from a query**, write an {{esql}} query to populate the list of options.
10+
* The name of the control. This name is used to reference the control in {{esql}} queries.
11+
* Start the name with `?` if you want the options to be simple static values.
12+
* Start the name with `??` if you want the options to be fields or functions. {applies_to}`stack: ga 9.1`
13+
* The values users can select for this control. You can add multiple values from suggested fields, or type in custom values. If you selected **Values from a query**, you must instead write an {{esql}} query at this step.
14+
* The label of the control. This is the label displayed in **Discover** or in the dashboard.
15+
* The width of the control.
16+
* Whether the control should allow selecting a single value or multiple values. This [requires using the `MV_CONTAINS` function in your query](#esql-multi-values-controls). {applies_to}`stack: preview 9.3` {applies_to}`serverless: preview`
17+
18+
![ESQL control settings](/explore-analyze/images/esql-visualization-control-settings.png "title =40%")
19+
20+
3. Save the control.
21+
22+
The variable is inserted into your query, and the control appears.

explore-analyze/dashboards/add-controls.md

Lines changed: 16 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -109,29 +109,30 @@ Only **Options lists** are supported for {{esql}}-based controls. Options can be
109109
- functions {applies_to}`stack: ga 9.1`
110110
:::
111111

112-
1. Use one of the following options to start creating a variable control:
113-
- In **Edit** mode, select **Add** > **Controls** > **Variable control** in the toolbar.
114-
- On the **Create variable control** flyout, while editing your {{esql}} visualization's query, the autocomplete menu suggests adding a control when relevant or when typing `?` in the query.
115-
116-
![ESQL query prompting to add a control](/explore-analyze/images/esql-visualization-control-suggestion.png)
117-
118-
2. A menu opens to let you configure the control. This is where you can specify:
119-
120-
:::{include} ../_snippets/variable-control-form.md
121-
:::
122-
123-
3. Save the control.
112+
:::{include} ../_snippets/variable-control-procedure.md
113+
:::
124114

125-
The panel closes and the control is added to the dashboard.
126115
If you added it by starting from a query, the control is directly inserted in that query and you can continue editing it.
127-
128116
You can then insert it in any other {{esql}} visualization queries by typing the control's name.
129117

130-
:::{include} ../_snippets/variable-control-examples.md
118+
:::{tip}
119+
You can also create variable controls to add later to any query by selecting **Add** > **Controls** > **Variable control** in the dashboard's toolbar.
131120
:::
132121

133122
![Editing {{esql}} controls from a dashboard](https://images.contentstack.io/v3/assets/bltefdd0b53724fa2ce/blte42dfaa404bfc2d6/67d2e31e2e4dc59da190d78f/dashboard-esql-controls.gif)
134123

124+
:::{include} ../_snippets/variable-control-examples.md
125+
:::
126+
127+
### Allow multi-value selections for {{esql}}-based variable controls [esql-multi-values-controls]
128+
```{applies_to}
129+
stack: preview 9.3
130+
serverless: preview
131+
```
132+
133+
:::{include} ../_snippets/multi-value-esql-controls.md
134+
:::
135+
135136
### Import a Discover query along with its controls into a dashboard
136137
```{applies_to}
137138
stack: preview 9.2

explore-analyze/discover/try-esql.md

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ To view or edit an index:
190190

191191
4. If you made changes, select **Save** before closing the flyout.
192192

193-
### Add variable controls to your Discover queries [add-variable-control-discover]
193+
### Add variable controls to your Discover queries [add-variable-control]
194194
```{applies_to}
195195
stack: preview 9.2
196196
serverless: preview
@@ -202,25 +202,26 @@ Variable controls help you make your queries more dynamic instead of having to m
202202

203203
You can add them from your Discover {{esql}} query.
204204

205-
1. While editing your {{esql}} query, the autocomplete menu suggests adding a control when relevant or when typing `?` in the query. Select **Create control**.
206-
207-
2. A menu opens to let you configure the control. This is where you can specify:
208-
209-
:::{include} ../_snippets/variable-control-form.md
210-
:::
205+
:::{include} ../_snippets/variable-control-procedure.md
206+
:::
211207

212-
3. Save the control.
208+
:::{include} ../_snippets/variable-control-examples.md
209+
:::
213210

214-
The variable is inserted into your query, and the control appears in the query editor.
211+
#### Allow multi-value selections for {{esql}}-based variable controls [esql-multi-values-controls]
212+
```{applies_to}
213+
stack: preview 9.3
214+
serverless: preview
215+
```
215216

216-
:::{include} ../_snippets/variable-control-examples.md
217+
:::{include} ../_snippets/multi-value-esql-controls.md
217218
:::
218219

219220
#### Edit a variable control
220221

221222
Once a control is active for your query, you can still edit it by hovering over it and by selecting the {icon}`pencil` **Edit** option that appears.
222223

223-
You can edit all of the options described in [](#add-variable-control-discover).
224+
You can edit all of the options described in [](#add-variable-control).
224225

225226
When you save your edits, the control is updated for your query.
226227

-364 KB
Loading

explore-analyze/query-filter/languages/esql-kibana.md

Lines changed: 26 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -190,9 +190,6 @@ FROM kibana_sample_data_logs
190190

191191
To display data within a specified time range, you can use the standard time filter, custom time parameters, or a WHERE command.
192192

193-
% DO NOT REMOVE - Link from the product, will become a real section link shortly
194-
$$$esql-multi-values-controls$$$
195-
196193

197194
#### Standard time filter [_standard_time_filter]
198195

@@ -227,6 +224,32 @@ FROM kibana_sample_data_logs
227224
| WHERE timestamp > NOW() - 15minutes
228225
```
229226

227+
228+
### Create controls with {{esql}} variables [add-variable-control]
229+
230+
{{esql}} variables help you add interactive controls to your queries and make them more dynamic.
231+
232+
They're available for:
233+
* [Discover queries](/explore-analyze/discover/try-esql.md#add-variable-control) {applies_to}`stack: ga 9.2`
234+
* [{{esql}} visualizations in dashboards](/explore-analyze/dashboards/add-controls.md#add-variable-control)
235+
236+
:::{include} ../../_snippets/variable-control-procedure.md
237+
:::
238+
239+
:::{include} ../../_snippets/variable-control-examples.md
240+
:::
241+
242+
% Link from the product
243+
#### Allow multi-value selections for {{esql}}-based variable controls [esql-multi-values-controls]
244+
```{applies_to}
245+
stack: preview 9.3
246+
serverless: preview
247+
```
248+
249+
:::{include} ../../_snippets/multi-value-esql-controls.md
250+
:::
251+
252+
230253
### LOOKUP JOINs
231254

232255
The ES|QL editor supports [`LOOKUP JOIN`](elasticsearch://reference/query-languages/esql/commands/processing-commands.md#esql-lookup-join) commands and suggests lookup mode indices and join condition fields.

get-started/_snippets/observability-overview.md

Lines changed: 18 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -4,25 +4,27 @@ By leveraging the search and analytics capabilities of {{es}}, it offers a holis
44

55
Elastic {{observability}} embraces open standards like OpenTelemetry for flexible data collection, and offers scalable, cost-efficient data retention with tiered storage.
66

7-
For a complete overview, refer to [](/solutions/observability/get-started/what-is-elastic-observability.md).
7+
:::{tip}
8+
New to Elastic? Refer to [Elastic Fundamentals](/get-started/index.md) to understand the Elastic Stack, its components, and your deployment options.
9+
:::
810

911
## Use cases [observability-use-cases]
1012

1113
Apply {{observability}} to various scenarios to improve operational awareness and system reliability.
1214

1315
:::{dropdown} Use cases
1416
:open:
15-
* **Log monitoring and analytics:** Centralize and analyze petabytes of log data from any source. This enables quick searching, ad-hoc queries with ES|QL, and visualization with prebuilt dashboards to diagnose issues.
16-
* **Application Performance Monitoring (APM):** Gain code-level visibility into application performance. By collecting and analyzing traces with native OTel support, teams can identify bottlenecks, track errors, and optimize the end-user experience.
17-
* **Infrastructure monitoring:** Monitor metrics from servers, virtual machines, containers, and serverless environments with over 400 out-of-the-box integrations, including OpenTelemetry. This provides deep insights into resource utilization and overall system health.
18-
* **AI-powered log analysis with Streams**: Ingest raw logs in any format directly to a single endpoint without the need for complex agent management or manual parsing pipelines. Streams leverages AI to automatically parse, structure, and analyze log data on the fly.
17+
* **[Log monitoring and analytics](/solutions/observability/logs.md):** Centralize and analyze petabytes of log data from any source. This enables quick searching, ad-hoc queries with ES|QL, and visualization with prebuilt dashboards to diagnose issues.
18+
* **[Application Performance Monitoring (APM)](/solutions/observability/applications/index.md):** Gain code-level visibility into application performance. By collecting and analyzing traces with native OTel support, teams can identify bottlenecks, track errors, and optimize the end-user experience.
19+
* **[Infrastructure monitoring](/solutions/observability/infra-and-hosts.md):** Monitor metrics from servers, virtual machines, containers, and serverless environments with over 400 out-of-the-box integrations, including OpenTelemetry. This provides deep insights into resource utilization and overall system health.
20+
* **[AI-powered log analysis with Streams](/solutions/observability/streams/streams.md):** Ingest raw logs in any format directly to a single endpoint without the need for complex agent management or manual parsing pipelines. Streams leverages AI to automatically parse, structure, and analyze log data on the fly.
1921
* **Digital experience monitoring:**
20-
* **Real User Monitoring (RUM):** Capture and analyze data on how real users interact with web applications to improve perceived performance.
21-
* **Synthetic monitoring:** Proactively simulate user journeys and API calls to test application availability and functionality.
22-
* **Uptime monitoring:** Continuously check the status of services and applications to ensure they are available.
23-
* **Universal Profiling:** Gain visibility into system performance and identify expensive lines of code without application instrumentation, helping to increase CPU efficiency and reduce cloud spend.
24-
* **LLM Observability:** Gain deep insights into the performance, usage, and costs of Large Language Model (LLM) prompts and responses.
25-
* **Incident response and management:** Investigate operational incidents by correlating data from multiple sources, accelerating root cause analysis and resolution.
22+
* **[Real User Monitoring (RUM)](/solutions/observability/applications/user-experience.md):** Capture and analyze data on how real users interact with web applications to improve perceived performance.
23+
* **[Synthetic monitoring](/solutions/observability/synthetics/index.md):** Proactively simulate user journeys and API calls to test application availability and functionality.
24+
* **[Uptime monitoring](/solutions/observability/uptime/index.md):** Continuously check the status of services and applications to ensure they are available.
25+
* **[LLM Observability](/solutions/observability/applications/llm-observability.md):** Gain deep insights into the performance, usage, and costs of Large Language Model (LLM) prompts and responses.
26+
* **[Incident response and management](/solutions/observability/incident-management.md):** Investigate operational incidents by correlating data from multiple sources, accelerating root cause analysis and resolution.
27+
* **[Universal Profiling](/solutions/observability/infra-and-hosts/get-started-with-universal-profiling.md):** Gain visibility into system performance and identify expensive lines of code without application instrumentation, helping to increase CPU efficiency and reduce cloud spend.
2628
:::
2729

2830
To start your {{observability}} journey, read the [**Get started**](/solutions/observability/get-started.md) guide, which presents all the essential steps, with links to valuable resources. You can also browse the {{observability}} [**Quickstart guides**](/solutions/observability/get-started/quickstarts.md).
@@ -38,8 +40,9 @@ At the heart of Elastic {{observability}} are several key components that enable
3840
* [**Logs:**](/solutions/observability/logs.md) Timestamped records of events that provide detailed, contextual information.
3941
* [**Metrics:**](/solutions/observability/infra-and-hosts/analyze-infrastructure-host-metrics.md) Numerical measurements of system performance and health over time.
4042
* [**Traces:**](/solutions/observability/apm/traces.md) Representations of end-to-end journeys of requests as they travel through distributed systems.
41-
* [**OpenTelemetry:**](/solutions/observability/apm/opentelemetry/index.md) {{Observability}} offers first-class, production-grade support for OpenTelemetry. This allows organizations to use vendor-neutral instrumentation and stream native OTel data without proprietary agents, leveraging the Elastic Distribution of OpenTelemetry (EDOT).
42-
* [**AIOps and AI Assistant:**](/solutions/observability/observability-ai-assistant.md) Leverages predictive analytics and an LLM-powered AI Assistant to reduce the time required to detect, investigate, and resolve incidents. This includes zero-config anomaly detection, pattern analysis, and the ability to surface correlations and root causes.
43-
* **[Alerting](/solutions/observability/incident-management/alerting.md) and [Cases](/solutions/observability/incident-management/cases.md):** Allows you to create rules to detect complex conditions and perform actions. Cases allows teams to stay aware of potential issues and track investigation details, assign tasks, and collaborate on resolutions.
44-
* [**Service Level Objectives (SLOs):**](/solutions/observability/incident-management/service-level-objectives-slos.md) A framework for defining and monitoring the reliability of a service. Elastic {{observability}} allows for creating and tracking SLOs to ensure that performance targets are being met.
43+
* [**OpenTelemetry:**](/solutions/observability/apm/opentelemetry/index.md) {{Observability}} offers first-class, production-grade support for OpenTelemetry. This allows organizations to use vendor-neutral instrumentation and stream native OTel data without proprietary agents, leveraging the {{edot}} (EDOT).
44+
* [**AIOps and AI Assistant:**](/solutions/observability/observability-ai-assistant.md) Leverages predictive analytics and an LLM-powered AI Assistant to reduce the time required to detect, investigate, and resolve incidents. This includes zero-config {{anomaly-detect}}, pattern analysis, and the ability to surface correlations and root causes.
45+
* **[Alerting](/solutions/observability/incident-management/alerting.md)**: Allows you to create rules to detect complex conditions and perform actions.
46+
* **[Cases](/solutions/observability/incident-management/cases.md):** Cases allows teams to stay aware of potential issues and track investigation details, assign tasks, and collaborate on resolutions.
47+
* [**Service Level Objectives (SLOs):**](/solutions/observability/incident-management/service-level-objectives-slos.md) A framework for defining and monitoring the reliability of a service. Elastic {{observability}} allows for creating and tracking SLOs to ensure you meet your performance targets.
4548
:::

0 commit comments

Comments
 (0)