Recently I tried to create three scripted fields in Kibana 6.2.2. They all try to get a string, using a regex matching, from a same specific document field. Only the first scripted field gets a match, and although I have used the same logic in the other two, they always return "no match".
Below is an example of the field from where I want to get the matchings:
My scripted fields are:
And my results:
As the last image is showing, only the scripted field sc-apip have the desired value, but the other two, not.
What could be my error or misunderstanding?
I thanks in advance for any help.