I was wondering if I could make a sophisticated search application out of the error logs that are generated. Like for example -
xquery version "1.0-ml";
let $xyz := xdmp:http-get("http://xyz:8001/get-error-log.xqy?filename=ErrorLog_1.txt",
<options xmlns="xdmp:http">
<authentication method="digest">
<username>xyz</username>
<password>xyz@123</password>
</authentication>
</options>) return $xyz
The query console crashed but if I write a script and run it? What could be the best way to do this without involving other application or language ?