Skip to content
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

[pkg/ottl] Add log body indexing #22102

Merged
merged 4 commits into from
May 24, 2023

Conversation

evan-bradley
Copy link
Contributor

@evan-bradley evan-bradley commented May 19, 2023

Description:

Allow indexing slice and map log bodies. I also added the ability to get/set indices in slice-typed paths since that was required for this.

Link to tracking Issue:

Resolves #17396
Partially resolves #22068

Testing:

I tested the config in #22068 and added unit tests, which I think have pretty good coverage of the changes.

Documentation:

Updated the ottllog context readme to call out indexing support for log bodies.

pkg/ottl/contexts/internal/value.go Outdated Show resolved Hide resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
3 participants