Sidehistorik
...
Scripted fields are found in the Management section:
So, my field in the fist successfull attempt looks like:
...
Kodeblok |
---|
if (doc['SRC.keyword'].value == "10.0.0.104") { return "Toke" } if (doc['SRC.keyword'].value == "10.0.0.185") { return "Christopher" } ... ... ... ... if (doc['SRC.keyword'].value == "10.0.0.196") { return "Toke" } |
And the success is eminent: