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

Flatten json with level limit #3216

Closed
hengfeiyang opened this issue Apr 11, 2024 · 0 comments
Closed

Flatten json with level limit #3216

hengfeiyang opened this issue Apr 11, 2024 · 0 comments
Assignees

Comments

@hengfeiyang
Copy link
Contributor

hengfeiyang commented Apr 11, 2024

Which OpenObserve functionalities are relevant/related to the feature request?

No response

Description

Now we flatten everything, but in some case the field will become very long: like this:

log_event_context_name_ba_cookie_name_duration: "30"

We can add a limit for flatten, default we only flatten 3 level then the over level will become json string. also we can let user configure the level.

ZO_INGEST_FLATTEN_LEVEL=3

Proposed solution

Alternatives considered

hengfeiyang added a commit that referenced this issue Apr 11, 2024
- [x] impl #3216 
- [x] add more logs for parquet job
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants