Hi-
I have a field name (Testjob/admin/pipeline#1) getting injected in the Elasticsearch, I'd like to split the field name by ('/') and take the last index value which is (pipeline#1) and show the field names on the graphs. Am trying to put this in the JSON Input on the Visualization using painless, the split doesn't work.
Any other suggestions. Could someone please help.
{
"script": "_value.split('/')[2]",
"lang": "painless"
}
