Hello Tim ,
Its very much possible from groovy , by accessing the Elasticsearch logger
instance.
You should be able to do something similar for javascript too.
Some good folks from Elasticsearch has given a good documentation on it
against my issue.
*import org.elasticsearch.common.logging.*; *
Hi all -- I'd like to emit to stdout information within my custom .js
script (located in /elasticsearch/1.4.2/config/scripts/test.js).
I've tried both console.log and print (just a guess), but neither work:
"error": "ElasticsearchIllegalArgumentException[failed to execute script];
nested: EcmaE