Skip to content

Commit 0d966b5

Browse files
Merge branch 'main' into eui/v114.0.0
2 parents 7fb2dbf + dfd6c4c commit 0d966b5

161 files changed

Lines changed: 8919 additions & 4492 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/CODEOWNERS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1140,6 +1140,7 @@ x-pack/platform/plugins/shared/global_search @elastic/appex-sharedux
11401140
x-pack/platform/plugins/shared/index_management @elastic/kibana-management
11411141
x-pack/platform/plugins/shared/inference @elastic/search-kibana
11421142
x-pack/platform/plugins/shared/inference_endpoint @elastic/search-kibana
1143+
x-pack/platform/plugins/shared/ingest_hub @elastic/obs-onboarding-team
11431144
x-pack/platform/plugins/shared/ingest_pipelines @elastic/kibana-management
11441145
x-pack/platform/plugins/shared/lens @elastic/kibana-visualizations
11451146
x-pack/platform/plugins/shared/license_management @elastic/kibana-management

docs/extend/plugin-list.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,7 @@ mapped_pages:
175175
| [inference](https://github.com/elastic/kibana/blob/main/x-pack/platform/plugins/shared/inference/README.md) | The inference plugin is a central place to handle all interactions with the Elasticsearch Inference API and external LLM APIs. Its goals are: |
176176
| [inferenceEndpoint](https://github.com/elastic/kibana/blob/main/x-pack/platform/plugins/shared/inference_endpoint/README.md) | A Kibana plugin |
177177
| [infra](https://github.com/elastic/kibana/blob/main/x-pack/solutions/observability/plugins/infra/README.md) | This is the home of the infra plugin, which aims to provide a solution for the infrastructure monitoring use-case within Kibana. |
178+
| [ingestHub](https://github.com/elastic/kibana/blob/main/x-pack/platform/plugins/shared/ingest_hub/README.md) | Cross-solution onboarding page for adding data sources and integrations. Gated behind the ingestHub.enabled feature flag. |
178179
| [ingestPipelines](https://github.com/elastic/kibana/blob/main/x-pack/platform/plugins/shared/ingest_pipelines/README.md) | The ingest_pipelines plugin provides Kibana support for Elasticsearch's ingest pipelines. |
179180
| [intercepts](https://github.com/elastic/kibana/blob/main/x-pack/platform/plugins/private/intercepts/README.md) | Contains business logic and orchestration for displaying the intercept dialog suited to the needs of Kibana, and is made available so that other solution teams might leverage this to register and schedule an intercept of their choosing |
180181
| [kubernetesSecurity](https://github.com/elastic/kibana/blob/main/x-pack/solutions/security/plugins/kubernetes_security/README.md) | This plugin provides interactive visualizations of your Kubernetes workload and session data. |

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -734,6 +734,7 @@
734734
"@kbn/inference-tracing-config": "link:x-pack/platform/packages/shared/kbn-inference-tracing-config",
735735
"@kbn/infra-forge": "link:x-pack/platform/packages/private/kbn-infra-forge",
736736
"@kbn/infra-plugin": "link:x-pack/solutions/observability/plugins/infra",
737+
"@kbn/ingest-hub-plugin": "link:x-pack/platform/plugins/shared/ingest_hub",
737738
"@kbn/ingest-pipelines-plugin": "link:x-pack/platform/plugins/shared/ingest_pipelines",
738739
"@kbn/ingest-pipelines-shared": "link:x-pack/platform/packages/shared/ingest-pipelines",
739740
"@kbn/input-control-vis-plugin": "link:src/platform/plugins/private/input_control_vis",

packages/kbn-optimizer/limits.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@ pageLoadAssetSize:
9191
indexManagement: 39694
9292
inference: 10368
9393
infra: 56302
94+
ingestHub: 6112
9495
ingestPipelines: 17866
9596
inputControlVis: 7660
9697
inspectComponent: 4590
@@ -128,7 +129,7 @@ pageLoadAssetSize:
128129
observabilityAIAssistantApp: 17100
129130
observabilityAiAssistantManagement: 7126
130131
observabilityLogsExplorer: 4918
131-
observabilityOnboarding: 12872
132+
observabilityOnboarding: 14161
132133
observabilityShared: 75115
133134
osquery: 47422
134135
painlessLab: 6299

src/platform/packages/private/kbn-language-documentation/src/sections/generated/scalar_functions.tsx

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2587,6 +2587,33 @@ export const functions = {
25872587
},
25882588
},
25892589
// Do not edit manually... automatically generated by scripts/generate_esql_docs.ts
2590+
{
2591+
label: i18n.translate('languageDocumentation.documentationESQL.st_buffer', {
2592+
defaultMessage: 'ST_BUFFER',
2593+
}),
2594+
preview: true,
2595+
license: undefined,
2596+
description: {
2597+
markdownContent: i18n.translate(
2598+
'languageDocumentation.documentationESQL.st_buffer.markdown',
2599+
{
2600+
defaultMessage: `
2601+
### ST BUFFER
2602+
Computes a buffer area around the input geometry at the specified distance. The distance is in the units of the input spatial reference system. Positive distances expand the geometry, negative distances shrink it. Points and lines become polygons when buffered.
2603+
2604+
\`\`\`esql
2605+
ROW wkt = "POLYGON ((0 0, 4 0, 4 4, 0 4, 0 0))"
2606+
| EVAL buffered = ST_BUFFER(TO_GEOSHAPE(wkt), -1)
2607+
\`\`\`
2608+
`,
2609+
description:
2610+
'Text is in markdown. Do not translate function names, special characters, or field names like sum(bytes)',
2611+
ignoreTag: true,
2612+
}
2613+
),
2614+
},
2615+
},
2616+
// Do not edit manually... automatically generated by scripts/generate_esql_docs.ts
25902617
{
25912618
label: i18n.translate('languageDocumentation.documentationESQL.st_contains', {
25922619
defaultMessage: 'ST_CONTAINS',
@@ -3024,6 +3051,33 @@ export const functions = {
30243051
ROW wkt = "POLYGON ((7.998 53.827, 9.470 53.068, 15.754 53.801, 16.523 57.160, 11.162 57.868, 8.064 57.445, 6.219 55.317, 7.998 53.827))"
30253052
| EVAL simplified = ST_SIMPLIFY(TO_GEOSHAPE(wkt), 0.7)
30263053
\`\`\`
3054+
`,
3055+
description:
3056+
'Text is in markdown. Do not translate function names, special characters, or field names like sum(bytes)',
3057+
ignoreTag: true,
3058+
}
3059+
),
3060+
},
3061+
},
3062+
// Do not edit manually... automatically generated by scripts/generate_esql_docs.ts
3063+
{
3064+
label: i18n.translate('languageDocumentation.documentationESQL.st_simplifypreservetopology', {
3065+
defaultMessage: 'ST_SIMPLIFYPRESERVETOPOLOGY',
3066+
}),
3067+
preview: true,
3068+
license: undefined,
3069+
description: {
3070+
markdownContent: i18n.translate(
3071+
'languageDocumentation.documentationESQL.st_simplifypreservetopology.markdown',
3072+
{
3073+
defaultMessage: `
3074+
### ST SIMPLIFYPRESERVETOPOLOGY
3075+
Simplifies the input geometry by applying a topology-preserving variant of the Douglas-Peucker algorithm with a specified tolerance. Vertices that fall within the tolerance distance from the simplified shape are removed. Unlike \`ST_SIMPLIFY\`, the resulting geometry is guaranteed to be topologically valid.
3076+
3077+
\`\`\`esql
3078+
ROW wkt = "POLYGON ((7.998 53.827, 9.470 53.068, 15.754 53.801, 16.523 57.160, 11.162 57.868, 8.064 57.445, 6.219 55.317, 7.998 53.827))"
3079+
| EVAL simplified = ST_SIMPLIFYPRESERVETOPOLOGY(TO_GEOSHAPE(wkt), 0.7)
3080+
\`\`\`
30273081
`,
30283082
description:
30293083
'Text is in markdown. Do not translate function names, special characters, or field names like sum(bytes)',

src/platform/packages/shared/deeplinks/observability/constants.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,3 +37,5 @@ export const OBLT_PROFILING_APP_ID = 'profiling';
3737
export const INVENTORY_APP_ID = 'inventory';
3838

3939
export const STREAMS_APP_ID = 'streams';
40+
41+
export const INGEST_HUB_APP_ID = 'ingestHub';

src/platform/packages/shared/deeplinks/observability/deep_links.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ import type {
2323
OBLT_PROFILING_APP_ID,
2424
INVENTORY_APP_ID,
2525
STREAMS_APP_ID,
26+
INGEST_HUB_APP_ID,
2627
} from './constants';
2728

2829
type LogsApp = typeof LOGS_APP_ID;
@@ -40,6 +41,7 @@ type ObltUxApp = typeof OBLT_UX_APP_ID;
4041
type ObltProfilingApp = typeof OBLT_PROFILING_APP_ID;
4142
type InventoryApp = typeof INVENTORY_APP_ID;
4243
type StreamsApp = typeof STREAMS_APP_ID;
44+
type IngestHubApp = typeof INGEST_HUB_APP_ID;
4345

4446
export type AppId =
4547
| LogsApp
@@ -56,7 +58,8 @@ export type AppId =
5658
| ObltUxApp
5759
| ObltProfilingApp
5860
| InventoryApp
59-
| StreamsApp;
61+
| StreamsApp
62+
| IngestHubApp;
6063

6164
export type LogsLinkId = 'log-categories' | 'settings' | 'anomalies' | 'stream';
6265

src/platform/packages/shared/deeplinks/observability/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ export {
1616
AI_ASSISTANT_APP_ID,
1717
OBLT_UX_APP_ID,
1818
OBLT_PROFILING_APP_ID,
19+
INGEST_HUB_APP_ID,
1920
} from './constants';
2021
export type { AppId, DeepLinkId } from './deep_links';
2122
export * from './locators';

src/platform/packages/shared/kbn-esql-language/src/commands/definitions/generated/aggregation_functions.ts

Lines changed: 131 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3987,6 +3987,136 @@ const sampleDefinition: FunctionDefinition = {
39873987
examples: ['FROM employees\n| STATS sample = SAMPLE(gender, 5)'],
39883988
};
39893989

3990+
// Do not edit this manually... generated by scripts/generate_function_definitions.ts
3991+
const sparklineDefinition: FunctionDefinition = {
3992+
type: FunctionDefinitionTypes.AGG,
3993+
name: EsqlFunctionNames.SPARKLINE,
3994+
description: i18n.translate('kbn-esql-language.esql.definitions.sparkline', {
3995+
defaultMessage:
3996+
'The values representing the y-axis values of a sparkline graph for a given aggregation over a period of time.',
3997+
}),
3998+
ignoreAsSuggestion: true,
3999+
preview: true,
4000+
alias: undefined,
4001+
signatures: [
4002+
{
4003+
params: [
4004+
{
4005+
name: 'field',
4006+
type: 'double',
4007+
optional: false,
4008+
description:
4009+
'Expression that calculates the y-axis value of the sparkline graph for each datapoint.',
4010+
},
4011+
{
4012+
name: 'key',
4013+
type: 'date',
4014+
optional: false,
4015+
description: 'Date expression from which to derive buckets.',
4016+
},
4017+
{
4018+
name: 'buckets',
4019+
type: 'integer',
4020+
optional: false,
4021+
description:
4022+
'Target number of buckets, or desired bucket size if `from` and `to` parameters are omitted.',
4023+
},
4024+
{
4025+
name: 'from',
4026+
type: 'text',
4027+
optional: false,
4028+
description: 'Start of the range. Can be a date or a date expressed as a string.',
4029+
},
4030+
{
4031+
name: 'to',
4032+
type: 'text',
4033+
optional: false,
4034+
description: 'End of the range. Can be a date or a date expressed as a string.',
4035+
},
4036+
],
4037+
returnType: 'double',
4038+
},
4039+
{
4040+
params: [
4041+
{
4042+
name: 'field',
4043+
type: 'integer',
4044+
optional: false,
4045+
description:
4046+
'Expression that calculates the y-axis value of the sparkline graph for each datapoint.',
4047+
},
4048+
{
4049+
name: 'key',
4050+
type: 'date',
4051+
optional: false,
4052+
description: 'Date expression from which to derive buckets.',
4053+
},
4054+
{
4055+
name: 'buckets',
4056+
type: 'integer',
4057+
optional: false,
4058+
description:
4059+
'Target number of buckets, or desired bucket size if `from` and `to` parameters are omitted.',
4060+
},
4061+
{
4062+
name: 'from',
4063+
type: 'date',
4064+
optional: false,
4065+
description: 'Start of the range. Can be a date or a date expressed as a string.',
4066+
},
4067+
{
4068+
name: 'to',
4069+
type: 'date',
4070+
optional: false,
4071+
description: 'End of the range. Can be a date or a date expressed as a string.',
4072+
},
4073+
],
4074+
returnType: 'integer',
4075+
},
4076+
{
4077+
params: [
4078+
{
4079+
name: 'field',
4080+
type: 'long',
4081+
optional: false,
4082+
description:
4083+
'Expression that calculates the y-axis value of the sparkline graph for each datapoint.',
4084+
},
4085+
{
4086+
name: 'key',
4087+
type: 'date',
4088+
optional: false,
4089+
description: 'Date expression from which to derive buckets.',
4090+
},
4091+
{
4092+
name: 'buckets',
4093+
type: 'integer',
4094+
optional: false,
4095+
description:
4096+
'Target number of buckets, or desired bucket size if `from` and `to` parameters are omitted.',
4097+
},
4098+
{
4099+
name: 'from',
4100+
type: 'keyword',
4101+
optional: false,
4102+
description: 'Start of the range. Can be a date or a date expressed as a string.',
4103+
},
4104+
{
4105+
name: 'to',
4106+
type: 'keyword',
4107+
optional: false,
4108+
description: 'End of the range. Can be a date or a date expressed as a string.',
4109+
},
4110+
],
4111+
returnType: 'long',
4112+
},
4113+
],
4114+
locationsAvailable: [Location.STATS],
4115+
examples: [
4116+
'FROM employees\n| STATS sparkline = SPARKLINE(COUNT(*), hire_date, 20, "1985-01-01T00:00:00Z", "1985-12-31T00:00:00Z")',
4117+
],
4118+
};
4119+
39904120
// Do not edit this manually... generated by scripts/generate_function_definitions.ts
39914121
const stCentroidAggDefinition: FunctionDefinition = {
39924122
type: FunctionDefinitionTypes.AGG,
@@ -5625,6 +5755,7 @@ export const aggFunctionDefinitions = [
56255755
percentileDefinition,
56265756
presentDefinition,
56275757
sampleDefinition,
5758+
sparklineDefinition,
56285759
stCentroidAggDefinition,
56295760
stExtentAggDefinition,
56305761
stdDevDefinition,

src/platform/packages/shared/kbn-esql-language/src/commands/definitions/generated/commands/commands.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,10 @@ export const commandsMetadata: Record<string, unknown> = {
112112
type: 'command',
113113
name: 'uri_parts',
114114
},
115+
user_agent: {
116+
type: 'command',
117+
name: 'user_agent',
118+
},
115119
where: {
116120
type: 'command',
117121
name: 'where',
@@ -144,5 +148,6 @@ export enum EsqlCommandNames {
144148
STATS = 'stats',
145149
TS_INFO = 'ts_info',
146150
URI_PARTS = 'uri_parts',
151+
USER_AGENT = 'user_agent',
147152
WHERE = 'where',
148153
}

0 commit comments

Comments
 (0)