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

parse_json documentation missing config options #1321

Open
elsmorian opened this issue Jul 7, 2023 · 1 comment
Open

parse_json documentation missing config options #1321

elsmorian opened this issue Jul 7, 2023 · 1 comment

Comments

@elsmorian
Copy link

Describe the bug
The documentation at https://cloud.google.com/stackdriver/docs/solutions/agents/ops-agent/configuration#logging-processor-parse-json is lacking in mentioning options that you can use. I stumbled upon someone else's example and discovered that you can use the field: option to set which field to parse as JSON from the message, which was very helpful when moving from google-fluentd

Are there any other config options missing? It would be very handy to have the ability to not remove the field you parse too for instance!

To Reproduce
Steps to reproduce the behavior:
1.Read the docs

Expected behavior
The docs to mention all options you could use to configure the json_parse processor

@braydonk
Copy link
Contributor

braydonk commented Jul 7, 2023

Hi @elsmorian! Thank you for bringing this oversight to our attention. We will address this docs shortcoming ASAP.

I took a look to make sure, and that is currently the only config field missing from the docs. I will discuss your suggestion about preserving the field after parsing to the team and see if it's something we'll be able to add. Thank you for opening an issue!

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

No branches or pull requests

2 participants