I would like to dump some unstructured JSON information into logs (requests / replies from REST services) and I intentionally don’t want to parse them. I did some tests with a Graylog 2.5 docker image and it everything is great, except in the interface, those fields appear as plain text strings.
Does Graylog have some pretty printing to make it possible to navigate in this kind of data? I couldn’t find anything like this in the interface. To me it just looks like an obvious thing to have, or is there anything else I’m not aware of?
Ok, I’m looking into it. What I see currently - parse_json returns a JSON Tree, which I can not put directly into the set_fields, correct? If this is correct - have to do select_jsonpath which implies knowing the structure of JSON, which I want to avoid.
Another option would be to iterate over JSON tree, but I don’t see any iteration tools in pipeline functions, are there any?