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

review truncating otel strings that are indexed as keywords #125

Open
simitt opened this issue Jul 24, 2023 · 2 comments
Open

review truncating otel strings that are indexed as keywords #125

simitt opened this issue Jul 24, 2023 · 2 comments
Labels

Comments

@simitt
Copy link
Contributor

simitt commented Jul 24, 2023

We currently truncate otel attributes that are indexed as keywords to 1024 chars

stringval := truncate(v.Str())

The mappings are generally created with ignore_above: 1024, which would lead to not indexing this field if the value exceeds 1024 chars.

We should review if truncating of the values for otel strings is the best choice, where the field will always be indexed, but anything above 1024 chars will be completely lost vs. not truncating the values, leading to certain fields not being indexed and searchable, but only available in _source, if exceeding the limit. When moving to synthetic source, the time to retrieve the non-indexed values might be increased.

@simitt simitt added the discuss label Jul 24, 2023
@richcollier
Copy link

richcollier commented Jul 31, 2023

@simitt - is there a way for the customer to easily override this? Or some other kind of workaround?

@simitt
Copy link
Contributor Author

simitt commented Aug 1, 2023

No this is unfortunately not possible currently.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants