I have a bar chart visualization and I split the bars by terms on a string field.
Every value of that string field has the same prefix, I would like to remove it using the JSON input.
I already use the JSON input on the Y-Axis like so:
{
"script": {
"inline": "doc['measurement.executionTimeMsec'].value / 1000",
"lang": "painless"
}
}
I tried doing something similar there but it doesn't work, even simply presenting the value doesn't work:
{
"script": {
"inline": "doc['measurement.query'].value",
"lang": "painless"
}
}