FileBeat 命令
简介
- 可以在命令行执行
export
filebeat export SUBCOMMAND [FLAGS]
SUBCOMMAND: config dashboard template ilm-policy
FLAGS: --es.version VERSION
-h
--index BASE_NAME
--dir DIRNAME
--id DASHBOARD_ID
- filebeat export config
- filebeat export template --es.version 7.6.1 --index myindexname
- filebeat export dashboard --id="a7b35890-8baa-11e8-9676-ef67484126fb" > dashboard.json
help
filebeat help COMMAND_NAME [FLAGS]
- filebeat help export
keystore
filebeat keystore SUBCOMMAND [FLAGS]
SUBCOMMAND: add KEY
create
list
remove KEY
FLAGS: --force
--stdin
-h
- filebeat keystore create
- filebeat keystore add ES_PWD
- filebeat keystore remove ES_PWD
- filebeat keystore list
modules
run
setup
test
- 查看配置文件
./filebeat test config -e