-
Notifications
You must be signed in to change notification settings - Fork 25.2k
ESQL should support the "flattened" field type #105637
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Pinging @elastic/es-analytical-engine (Team:Analytics) |
I don't have an estimate. One of the fun parts about flattened is that we don't know what the actual sub-fields are at planning time. |
Hey @nik9000, I noticed that I can't even fetch a flattened field using ESQL. |
That fetch is sort of step 0 in supporting The tricky thing is that But flattened fields need some way to load all of the sub-fields. Maybe some kind of object response format or something. But I'm not sure. |
I'd also be curious on how Elastic is prioritizing this feature (understanding that it is a complex topic). On one hand you have the Elastic integration teams widely adopting I was hoping that ES|QL would cover this, elastic/kibana#25820 (comment), but as pointed out in that issue, and by this issue's existence, this gap in support has largely remained open and frustrating to deal with. |
The few security integrations such as Okta, AWS and Azure I have used have |
Adding an update. We are running into blockers with ES|QL for detection rules and threat hunting in the security solution. An example is the Okta integration where A security integrations issue was created to hopefully create a keyword version of |
I'll add that the EDOT (Elastic Distro of Open Telemetry) Collector's Elasticsearch Exporter uses the 'flattened' datatype for some types of native OTel logs (structured logs, specifically)... Which means that the interesting ("message") part of the log entry is inside a flattened datatype, and thus non-queryable via ES|QL. |
Elasticsearch Version
8.12.1
Installed Plugins
No response
Java Version
bundled
OS Version
rockylinux:a
Problem Description
As mentioned in https://www.elastic.co/guide/en/elasticsearch/reference/8.12/esql-limitations.html#_unsupported_types the
flattened
field type is not supported by ESQL. I don't find another issue tracking that support. Is it planned and any idea when, like in 8.x or not until 9?Steps to Reproduce
Try to use ESQL to aggregate on a
flattened
field.Logs (if relevant)
No response
The text was updated successfully, but these errors were encountered: