I have a splunk query which ends as follows
my_query | stats count by field_A | eval field_A=field_A + "," + count
As per the above my results are as follows
field_A count
ABC,45 45
DEF,60 60
Now I have displayed the above in a pie chart so that I can see each slice name and their count like below
Now All I'm trying to do is assign some default colors to the pie chart but I only know how to assign a default color if the field values of field_A are default like below if they are default
But here the case is different the field values will get changed since the count will get changed like below since the count is not constant where ABC,DEF,GHI are constant.
ABC*,count*
DEF*,count*
GHI*,count*
Now here in this case how can I specify the constant colors to the non-constant field names in charting.fieldColors?
... View more