Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
f9a27a2
Updating source fields for es query rule types
doakalexi Jul 30, 2025
c890687
Fixing types checks
doakalexi Jul 31, 2025
cde84bf
Merge branch 'main' into update/copy-es-query-source-data
doakalexi Jul 31, 2025
8b917e1
Fixing test failures
doakalexi Jul 31, 2025
f828b23
Merge branch 'update/copy-es-query-source-data' of github.com:doakale…
doakalexi Jul 31, 2025
dee2adb
Fixing translations
doakalexi Jul 31, 2025
b47b5ec
Fixing issues with source fields
doakalexi Aug 5, 2025
3ffbb38
[CI] Auto-commit changed files from 'security: 3rd-party dependencies'
kibanamachine Aug 5, 2025
5a3b11c
Moving around source field function
doakalexi Aug 5, 2025
1c4c454
Merge branch 'update/copy-es-query-source-data' of github.com:doakale…
doakalexi Aug 5, 2025
6280168
[CI] Auto-commit changed files from 'security: 3rd-party dependencies'
kibanamachine Aug 5, 2025
c1ff894
Fixing test changes
doakalexi Aug 7, 2025
aa5a4ce
Merge branch 'update/copy-es-query-source-data' of github.com:doakale…
doakalexi Aug 7, 2025
b919a32
Fixing rule tests
doakalexi Aug 7, 2025
b4311c2
Fixing test
doakalexi Aug 7, 2025
df5c696
Merge branch 'main' into update/copy-es-query-source-data
doakalexi Aug 8, 2025
fa38849
Merge branch 'main' into update/copy-es-query-source-data
doakalexi Aug 11, 2025
6732468
Merge branch 'main' into update/copy-es-query-source-data
doakalexi Aug 14, 2025
eca13ba
Merge branch 'main' of github.com:elastic/kibana into update/copy-es-…
doakalexi Aug 26, 2025
1e13a57
Merge branch 'main' into update/copy-es-query-source-data
doakalexi Sep 2, 2025
0193d11
Merge branch 'main' into update/copy-es-query-source-data
doakalexi Sep 8, 2025
a324cdb
addressing pr comments
doakalexi Sep 8, 2025
745c61c
Merge branch 'update/copy-es-query-source-data' of github.com:doakale…
doakalexi Sep 8, 2025
cfc2499
Fixing type check
doakalexi Sep 8, 2025
ae47007
Fixing type checks again
doakalexi Sep 8, 2025
97cfd2a
Updating OAS docs
doakalexi Sep 9, 2025
b47b3c1
Fixing when no hits are returned
doakalexi Sep 10, 2025
22e0710
Merge branch 'main' into update/copy-es-query-source-data
doakalexi Sep 10, 2025
96c9e17
Merge branch 'main' into update/copy-es-query-source-data
doakalexi Sep 15, 2025
8632e82
Merge branch 'main' into update/copy-es-query-source-data
doakalexi Sep 17, 2025
5db4197
Merge branch 'main' into update/copy-es-query-source-data
doakalexi Sep 18, 2025
de337d6
Merge branch 'main' into update/copy-es-query-source-data
doakalexi Sep 22, 2025
5b60d00
Merge branch 'main' into update/copy-es-query-source-data
doakalexi Sep 22, 2025
7cead99
Merge branch 'main' into update/copy-es-query-source-data
doakalexi Sep 23, 2025
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,7 @@ const EsQueryRuleParamsSchemaProperties = {
}),
{
maxSize: MAX_SELECTABLE_SOURCE_FIELDS,
meta: { description: 'The sourceFields param is ignored.' },
}
)
),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42233,13 +42233,10 @@
"xpack.stackAlerts.components.ui.alertParams.indexPlaceholder": "Indizes und ein Zeitfeld auswählen",
"xpack.stackAlerts.components.ui.alertParams.indicesToQueryLabel": "Indexe zum Abfragen",
"xpack.stackAlerts.components.ui.alertParams.timeFieldLabel": "Zeitfeld",
"xpack.stackAlerts.components.ui.sourceFieldsSelect.placeholder": "Felder auswählen",
"xpack.stackAlerts.components.ui.sourceFieldsSelect.title": "Hinzufügen weiterer Felder zu Warnungsdetails",
"xpack.stackAlerts.esqlQuery.ui.validation.error.requiredQueryText": "ES|QL-Abfrage ist erforderlich.",
"xpack.stackAlerts.esqlQuery.ui.validation.error.requiredThreshold0Text": "Der Schwellenwert muss 0 sein.",
"xpack.stackAlerts.esqlQuery.ui.validation.error.requiredThresholdComparatorText": "Der Schwellenwertkomparator muss größer sein als",
"xpack.stackAlerts.esqlQuery.ui.validation.error.requiredTimeFieldText": "Das Zeitfeld ist erforderlich.",
"xpack.stackAlerts.esqlQuery.ui.validation.error.sourceFields": "Es können nicht mehr als {max} Felder ausgewählt werden",
"xpack.stackAlerts.esQuery.actionGroupThresholdMetTitle": "Abfrage übereinstimmend",
"xpack.stackAlerts.esQuery.actionVariableContextConditionsLabel": "Eine Zeichenfolge, die die Bedingung für den Schwellenwert beschreibt.",
"xpack.stackAlerts.esQuery.actionVariableContextDateLabel": "Das Datum, an dem der Alarm die Schwellenbedingung erreicht hat.",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42350,13 +42350,10 @@
"xpack.stackAlerts.components.ui.alertParams.indexPlaceholder": "Sélectionner les index et un champ temporel",
"xpack.stackAlerts.components.ui.alertParams.indicesToQueryLabel": "Index à interroger",
"xpack.stackAlerts.components.ui.alertParams.timeFieldLabel": "Champ temporel",
"xpack.stackAlerts.components.ui.sourceFieldsSelect.placeholder": "Sélectionner des champs",
"xpack.stackAlerts.components.ui.sourceFieldsSelect.title": "Ajouter plus de champs aux détails des alertes",
"xpack.stackAlerts.esqlQuery.ui.validation.error.requiredQueryText": "Une requête ES|QL est requise.",
"xpack.stackAlerts.esqlQuery.ui.validation.error.requiredThreshold0Text": "Le seuil doit correspondre à 0.",
"xpack.stackAlerts.esqlQuery.ui.validation.error.requiredThresholdComparatorText": "Le comparateur de seuil doit être plus élevé que.",
"xpack.stackAlerts.esqlQuery.ui.validation.error.requiredTimeFieldText": "Le champ temporel est requis.",
"xpack.stackAlerts.esqlQuery.ui.validation.error.sourceFields": "Impossible de sélectionner plus de {max} champs",
"xpack.stackAlerts.esQuery.actionGroupThresholdMetTitle": "Correspondance de recherche",
"xpack.stackAlerts.esQuery.actionVariableContextConditionsLabel": "Chaîne qui décrit la condition de seuil.",
"xpack.stackAlerts.esQuery.actionVariableContextDateLabel": "Date à laquelle l'alerte a rempli la condition de seuil.",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42399,13 +42399,10 @@
"xpack.stackAlerts.components.ui.alertParams.indexPlaceholder": "インデックスと時間フィールドを選択",
"xpack.stackAlerts.components.ui.alertParams.indicesToQueryLabel": "クエリを実行するインデックス",
"xpack.stackAlerts.components.ui.alertParams.timeFieldLabel": "時間フィールド",
"xpack.stackAlerts.components.ui.sourceFieldsSelect.placeholder": "フィールドを選択",
"xpack.stackAlerts.components.ui.sourceFieldsSelect.title": "その他のフィールドをアラート詳細に追加",
"xpack.stackAlerts.esqlQuery.ui.validation.error.requiredQueryText": "ES|QLクエリは必須です。",
"xpack.stackAlerts.esqlQuery.ui.validation.error.requiredThreshold0Text": "しきい値は0でなければなりません。",
"xpack.stackAlerts.esqlQuery.ui.validation.error.requiredThresholdComparatorText": "しきい値比較器はそれよりも大きくなければなりません。",
"xpack.stackAlerts.esqlQuery.ui.validation.error.requiredTimeFieldText": "時間フィールドが必要です。",
"xpack.stackAlerts.esqlQuery.ui.validation.error.sourceFields": "{max}を超えるフィールドは選択できません",
"xpack.stackAlerts.esQuery.actionGroupThresholdMetTitle": "クエリが一致しました",
"xpack.stackAlerts.esQuery.actionVariableContextConditionsLabel": "しきい値条件を説明する文字列。",
"xpack.stackAlerts.esQuery.actionVariableContextDateLabel": "アラートがしきい値条件を満たした日付。",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42382,13 +42382,10 @@
"xpack.stackAlerts.components.ui.alertParams.indexPlaceholder": "选择索引和时间字段",
"xpack.stackAlerts.components.ui.alertParams.indicesToQueryLabel": "要查询的索引",
"xpack.stackAlerts.components.ui.alertParams.timeFieldLabel": "时间字段",
"xpack.stackAlerts.components.ui.sourceFieldsSelect.placeholder": "选择字段",
"xpack.stackAlerts.components.ui.sourceFieldsSelect.title": "添加更多字段到告警详情",
"xpack.stackAlerts.esqlQuery.ui.validation.error.requiredQueryText": "ES|QL 查询必填。",
"xpack.stackAlerts.esqlQuery.ui.validation.error.requiredThreshold0Text": "阈值必须为 0。",
"xpack.stackAlerts.esqlQuery.ui.validation.error.requiredThresholdComparatorText": "阈值比较运算符必须为大于。",
"xpack.stackAlerts.esqlQuery.ui.validation.error.requiredTimeFieldText": "“时间字段”必填。",
"xpack.stackAlerts.esqlQuery.ui.validation.error.sourceFields": "选择的字段不能超过 {max} 个",
"xpack.stackAlerts.esQuery.actionGroupThresholdMetTitle": "查询已匹配",
"xpack.stackAlerts.esQuery.actionVariableContextConditionsLabel": "描述阈值条件的字符串。",
"xpack.stackAlerts.esQuery.actionVariableContextDateLabel": "告警满足阈值条件的日期。",
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 0 additions & 15 deletions x-pack/platform/plugins/shared/stack_alerts/common/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,19 +6,4 @@
*/

export const MAX_SELECTABLE_GROUP_BY_TERMS = 4;
export const MAX_SELECTABLE_SOURCE_FIELDS = 5;
export const MAX_HITS_FOR_GROUP_BY = 100;

const HOST_NAME = 'host.name';
const HOST_HOSTNAME = 'host.hostname';
const HOST_ID = 'host.id';
const CONTAINER_ID = 'container.id';
const KUBERNETES_POD_UID = 'kubernetes.pod.uid';

export const validSourceFields = [
HOST_NAME,
HOST_HOSTNAME,
HOST_ID,
CONTAINER_ID,
KUBERNETES_POD_UID,
];

This file was deleted.

Loading