elasticsearch-log-processor
elasticsearch-log-processor copied to clipboard
$scriptdir isn't evaluated in run.sh
For me, the following:
template_file_path="@${scriptdir}/elasticsearch/elasticsearch-template-5x.json"
results in: @/elasticsearch/elasticsearch-template-5x.json
├ $ ./test.sh
++ readlink -f ./test.sh
readlink: illegal option -- f
usage: readlink [-n] [file ...]
s/readlink/stat works for me