Graylog2-server: Improve visual representation of JSON fields

Created on 7 Feb 2019  路  1Comment  路  Source: Graylog2/graylog2-server

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

  • Graylog Version: 3.0
  • Elasticsearch Version: 6.5.4
  • MongoDB Version: 3
  • Operating System: Linux
  • Browser version: Chromium 71
feature triaged ux

Most helpful comment

Shameless bump

>All comments

Shameless bump

Was this page helpful?
0 / 5 - 0 ratings

Related issues

avongluck-r1soft picture avongluck-r1soft  路  4Comments

jalogisch picture jalogisch  路  3Comments

ianling picture ianling  路  4Comments

cflinspach picture cflinspach  路  3Comments

jozefbarcin picture jozefbarcin  路  3Comments