Skip to content

[Rule Tuning] ESQL Query Field Dynamic Field Standardization #4909

@terrancedejesus

Description

@terrancedejesus

Align ESQL Queries with Field Naming Guidelines

Summary

This issue tracks updates to existing ESQL-based detection rules to align with the new field naming guidelines established by the TRADE team.

Objective

Ensure all dynamic or transformed fields in prebuilt ESQL rules follow the approved esql. prefixing convention and related guardrails to improve clarity, maintainability, and telemetry support.

Tasks

  • Audit existing ESQL rules for field naming inconsistencies
  • Apply esql. prefix to all dynamic or transformed fields
  • Preserve original ECS or integration field paths when transformed
  • Use .count, .avg, .hash, etc. suffixes for stats and other processing commands
  • Avoid overwriting ECS field names with transformed values
  • Apply consistent naming for all field-generating commands (eval, stats, grok, dissect, mv_, rename, etc.)

Rules to Review

Metadata

Metadata

Labels

Rule: Tuningtweaking or tuning an existing rule

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions