Cannot graph floating point in json message

Hello,
I receive JSON messages with floating point values which I would like to graph. Here is an example:
{“EventTime”:“08/06/2021 00:51:01.630”,“processor_time”: 1.225051 ,“memory_available”: 15459340288.000000 ,“disk_sec_pread”: 0.000583 ,“disk_sec_pwrite”: 0.000071 ,“hostname”:“li-dskdev0042”,“type”:“perfmon”}

When I attempt to graph for example “memory_available” field I don’t get “Chart” menu option as shown on a screenshot.
I created JSON extractor but I still cannot get “Chart” menu option,
Here is a screenshot:

Does anybody have ideas?
I use fairly recent version of Graylog 4.09.
I will appreciate your ideas.
Thank you,
Jerzy

Probably it’s not saved as number format, but as string. Check custom index mapping:
https://docs.graylog.org/en/4.0/pages/configuration/elasticsearch.html#custom-index-mappings

1 Like

Thank you for suggestion.
I do have JSON extractor.
My problem went away once I refreshed the web page.
I never realized that I have to do F5 when I create a new extractor.
Thank you again,
Jerzy

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.