Orchestrator additions for features coming in 8.8#2181
Orchestrator additions for features coming in 8.8#2181mitodrummer merged 5 commits intoelastic:mainfrom
Conversation
|
Several existing integrations using @elastic/obs-cloud-monitoring @elastic/obs-cloudnative-monitoring |
|
Reading through the k8s docs, these key/values are guaranteed to be strings. Does using Instead of:
Flattened fields parse out the leaf fields and users would instead query:
|
It seems wildcard searches are not possible with flattened? e.g. would "orchestrator.resource.annotation.key1:"partial*" be possible? |
|
Seems the recent process.env_vars addition takes the same keyword approach. https://www.elastic.co/guide/en/ecs/current/ecs-process.html#field-process-env-vars |
|
I see that the kubernetes integration has fields for annotations and labels, but all those fields seem to be custom and outside of ECS. https://github.com/elastic/integrations/blob/main/packages/kubernetes/data_stream/container/fields/base-fields.yml#L68 |
|
We are going to test using a "flattened" type for these new fields, and will report back here once we've determined if it's a viable way forward. Thanks! |
Indeed those fields are "custom", outside the ECS fields and mapped dynamically as they are discovered. I think to be able to search inside eg. "orchestrator.resource.label": [somelabel*] and be able to find an existing label it is really valuable use case for Kubernetes personas that access resources based on labels. |
Yea, if we go the "flattened" route, I guess we lose ability to do wildcard searches on label/annotation "keys". If kibana search bars autocomplete the key values, perhaps that is a non issue, though maybe is less flexible for protection rules etc.. |
|
Hello,
I just want to point out that the docs mention that you can't do wildcard search on field keys not field values. Like in the following extract from here
|
|
After testing the "flattened" type. It seems to have too many limitations for our use cases. I think the PR as it stands (array of keywords e.g ["key:value", "key2:value2"] is the most flexible for our use case. cc @ebeahan |
Sorry for the delay. Understood that No objections to the changes from the ECS perspective, and @gizas supported the approach here. @kgeller we're past the 8.8 FF, but I suspect there's low risk to still including these changes into ECS 8.8. WDYT? |
|
🥳 |
💚 All backports created successfully
Questions ?Please refer to the Backport tool documentation |

make test? ymakeand committed those changes? y