The problem I'm experiencing is that apparently scripted fields cannot be aggregated within different patterns.
I have 3 index patterns (that group indices of the same type of logs) that contain a field called "severity_label".
However, in one of them "severity_label" is a scripted field whereas in the other 2 is just a normal field.
When I try to write a Timelion expression for splitting these 3 index patterns based on the field "severity_label", I'm getting the aggregation but only for the first two, the ones where the field is not scripted.
The one that contains "severity_label" as a scripted field does not appear in the visualization.
This is the expression I'm using in Timelion:
.es(index='index1-*, index2-*, index3-*', split=severity_label:5)
I tried running the same expression only under the first two index patterns and it worked. I even tried running it only for the third index pattern (the one that has the scripted field) alone and it also worked.
It fails when you combine index patterns of different types of indices where some of them have the field as scripted and the rest do not.
Are there any workarounds for this?
Thanks in advance!