mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 17:59:23 -04:00
[Security Solution][Detection Engine] fixes ES|QL metadata validation error text (#188191)
## Summary Removes deprecated square brackets from **metadata** operator in validation error text WAS ``` For example: FROM logs* [metadata _id, _version, _index] ``` AFTER ``` For example: FROM logs* metadata _id, _version, _index ``` Co-authored-by: Ryland Herrick <ryalnd@gmail.com>
This commit is contained in:
parent
3ae4111a77
commit
92634f40a5
1 changed files with 1 additions and 1 deletions
|
@ -23,7 +23,7 @@ export const esqlValidationErrorMessage = (message: string) =>
|
|||
export const ESQL_VALIDATION_MISSING_METADATA_OPERATOR_IN_QUERY_ERROR = i18n.translate(
|
||||
'xpack.securitySolution.detectionEngine.esqlValidation.missingMetadataOperatorInQueryError',
|
||||
{
|
||||
defaultMessage: `Queries that don’t use the STATS...BY function (non-aggregating queries) must include the "metadata _id, _version, _index" operator after the source command. For example: FROM logs* [metadata _id, _version, _index].`,
|
||||
defaultMessage: `Queries that don’t use the STATS...BY function (non-aggregating queries) must include the "metadata _id, _version, _index" operator after the source command. For example: FROM logs* metadata _id, _version, _index.`,
|
||||
}
|
||||
);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue