在Ubuntu 14.04 上安装单机版ELK 2.*(脚本化) 1.判断是否为root权限 if [ "${UID}" -ne 0 ]; then echo "You must be root to run this program." >&2 exit 3 fi 2.记录脚本运行日志(可以在ubuntu日志中找到对应的运行信息) log() { echo "$1" logger "$1" } 3.设置脚本运行…
The delete-by-query plugin adds support for deleteing all of the documents which match the specified query. It is a replacement for the problematic delete-by-query functionality which has been removed from the Elasticsearch core. Internally, it uses…