Splunk Search

Use of color field in treemap visualization

raoul
Path Finder

Is there a working example of the use of color_field in the new Treemap visualization?

I have tried the form that the documentation suggests, but to no avail. My search:

<base search> | stats count, sum(Amt) by merchant_category, merchant_city

According to the documentation the second stats function, the sum(Amt), should be used to determine the rectangle color but this does not happen.

Tags (1)
1 Solution

raoul
Path Finder

Managed to get this to work (sort of).

The trick is that one needs to go into the settings for the settings dialog and toggle on the "sequential" mode.

alt text

The problem is that the there seems to be a bug in the treemap vizualization in that it doesn't correctly pick the colors.

View solution in original post

raoul
Path Finder

Managed to get this to work (sort of).

The trick is that one needs to go into the settings for the settings dialog and toggle on the "sequential" mode.

alt text

The problem is that the there seems to be a bug in the treemap vizualization in that it doesn't correctly pick the colors.

Get Updates on the Splunk Community!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...