2-2、安装Filebeat
2024-09-10 19:32:52
安装filebeat
第1步:安装Filebeat
开始之前:如果尚未安装Elastic Stack,请立即执行此操作。 请参阅Getting started with the Elastic Stack.
要下载并安装Filebeat,请使用适用的系统的命令(deb for Debian/Ubuntu, rpm for Redhat/Centos/Fedora, mac for OS X, docker for any Docker platform, and win for Windows)
注意:如果使用Apt或Yum,可以从install Filebeat from our repositories更轻松地更新到最新版本。
有关其他安装选项,请参阅 download page ,例如32位镜像。
deb:
curl -L -O https://artifacts.elastic.co/downloads/beats/filebeat/filebeat-6.3.2-amd64.deb sudo dpkg -i filebeat-6.3.2-amd64.deb
rpm:
curl -L -O https://artifacts.elastic.co/downloads/beats/filebeat/filebeat-6.3.2-x86_64.rpm sudo rpm -vi filebeat-6.3.2-x86_64.rpm
mac:
curl -L -O https://artifacts.elastic.co/downloads/beats/filebeat/filebeat-6.3.2-darwin-x86_64.tar.gz tar xzvf filebeat-6.3.2-darwin-x86_64.tar.gz
docker:
docker pull docker.elastic.co/beats/filebeat:6.3.2
win:
- 从 downloads page.下载Filebeat Windows zip文件。
- 将zip文件的内容解压缩到C:\Program Files。
- 将filebeat- <version> -windows目录重命名为Filebeat。
- 以管理员身份打开PowerShell提示符(右键单击PowerShell图标,然后选择“以管理员身份运行”)。
- 在PowerShell提示符下,运行以下命令将Filebeat安装为Windows服务:
PS > cd 'C:\Program Files\Filebeat' PS C:\Program Files\Filebeat> .\install-service-filebeat.ps1
注意:如果在系统上禁用了脚本执行,则需要为当前会话设置执行策略以允许脚本运行。 例如:PowerShell.exe -ExecutionPolicy UnRestricted -File .\install-service-filebeat.ps1.
参考链接:
最新文章
- dedecms \plus\guestbook.php SQL Injection Vul By \plus\guestbook\edit.inc.php
- js改变HTML元素的值
- codeforces 710E E. Generate a String(dp)
- vim使用札记
- ansible高级用法
- chrome 修改标签页
- 根据Entity Framework6.X 数据生成代码(仅获取表名)
- ObjectiveC 文件操作一
- Spring配置与第一Spring HelloWorld
- 用非GUI模式执行测试,jp@gc - PerfMon Metrics Collector会出现无法获取正确数据的解决办法
- Net Protocol Related
- app电量测试
- Java常用日期操作
- Debian 9 VIM 使用鼠标右键复制
- Git服务器配置和基本使用
- windows 多用户登陆设置
- 保证Activity启动时每次都调用create
- RHEL5.5的安装文档
- 冲刺博客NO.5
- 纯css3无缝滚动