Graylog2 / graylog2-server

Free and open log management
https://www.graylog.org
Other
7.3k stars 1.05k forks source link

Improve visual representation of JSON fields #5652

Open maximvl opened 5 years ago

maximvl commented 5 years ago

Hi, I'm working with some unstructured JSON data so writing meaningful extractors/pipelines is not really feasible.

Expected Behavior

I'd like the message interface to format JSON fields in a nice readable way using indentation for nested objects and so on.

Current Behavior

Currently, JSON fields are formatted as unreadable plain strings (data is not real, just for the showcase):

screenshot

Possible Solution

Add an extractor and/or pipeline function which would pretty-print a JSON field. Just pretty-print, without changing the format or names so it is possible to copy it if needed.

Context

I'd like to use Graylog to monitor events happening in the system, most of those carry some big unstructured JSON payload which I would like to inspect manually.

Your Environment

I've tried both Graylog 2.5 and 3.0

maximvl commented 5 years ago

Shameless bump

ivorynoise commented 2 years ago

Related #6591