Scripted "String" Field not available for Visualisations


I have 2 scripted fields: "ratio" (number) and "time_bucket" (string). These are showing up as expected in "discovery" without issue. I can also use the "ratio" field without issue when creating visualisations however I want to make some "sub-buckets" based upon the value of "time_bucket". But it doesn't appear in any list when trying to use it in "Visualisations", I cannot use it. Why is this?

Hmm I'm not sure why that would happen. I just tried it and the field showed up for me.

Which visualization are you trying to use it in? And which aggregation are you selecting?

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