-
Notifications
You must be signed in to change notification settings - Fork 418
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
Orchestrator additions for features coming in 8.8 #2181
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These changes seem straightforward, but I hesitate with 8.7 being FF and so close to the release date.
@ebeahan what do you think?
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? |
🥳 |
* new fields added to orchestrator fieldset * build artifacts --------- Co-authored-by: Eric Beahan <eric.beahan@elastic.co> (cherry picked from commit f9a25f5) # Conflicts: # experimental/generated/csv/fields.csv # generated/csv/fields.csv
💚 All backports created successfully
Questions ?Please refer to the Backport tool documentation |
make test
? ymake
and committed those changes? y