I'm trying to use scripted fields on my index pattern in Kibana 6.7. I basically want to have 'field_A' referenced in the URL template, and 'field_B' referenced in the Label Template, but I must be doing something wrong because I can't get it to work.
Is this possible, and if so, how do I need to format the script?
I've read the docs and they don't really cover this, but I found another forum post that made it sound like it's possible..
And my script:
def url_val = doc['field_A.keyword'].value; def label_val = doc['field_B.keyword'].value;