I am trying to create graphs using custom metrics like below. You can refer to the image attachment for getting better clarity of my use case.
- name of sources on X axis of graph.
- number in cpu_util field on Y axis of graph.
After ample of exploration, I did not found any option to create graphs using custom metrics. Instead it always crates a graph corresponding to number of log entries and time.
I am using Graylog 2.4.6.
In the image below, you can see that I have custom field in the message called cpu_util which contains numerical values and message is ingesting from difference sources.