Skip to content

Make JSON flattening more explicit #31

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

Conversation

IcarusSosie
Copy link
Contributor

Following my previous PR #30, I thought it'd be useful to make JSON flattening behavior more explicit.

As it stands, unless you know where to look in the docs, flattening behavior is implicit. Most users will experience it when testing OpenObserve for the first time. This isn't ideal since it causes users to make assumptions about how flattening works, assumptions which might be wrong.

This PR proposes to add a new section in the API Reference > Ingestion > Logs > JSON page, to explain the behavior with a quick example, and make the ZO_INGEST_FLATTEN_LEVEL variable more discoverable.

I'm not sure if this behavior differs between cloud and open-source.
Anyway, if you want to change the wording, or you'd rather put this info somewhere else, no issues 😄

@prabhatsharma prabhatsharma merged commit 83a77ea into openobserve:main Jul 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants