Visualization using one field as term but label with another field

I would like to use Kibana to do some visualization, but am having trouble figuring how to use one field for calculation but then label the result using another field.

The way I have structured my data has been using something similar to below for users:

{
      "name": "Streetlamp",
      "id": "140707809124810752"
}

I would like to count the sum of ids, but on the axis use the name as display. This is because the users often change their name and so it’s not an accurate representation if I count the name, but if I count the IDs, the chart became unreadable by humans.

How would I go about to do that?

1 Like

You cannot do that unfortunately.

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