a better way to distribute filebeat by rpm

本文讨论了Filebeat 7.x RPM 安装过程中遇到的困惑,主要涉及文件名重命名、配置模块路径问题及文档缺失。建议在官方文档中明确utils目录和/bin/filebeat路径,并建议修改wrapper名称以减少用户混淆。


i had create a topic on [https://discuss.elastic.co/c/beats](https://discuss.elastic.co/),the url is [https://discuss.elastic.co/t/some-puzzle-about-filebeat-version7-x-rpm-installation/293312](https://discuss.elastic.co/t/some-puzzle-about-filebeat-version7-x-rpm-installation/293312) ,it seems like necessary to open a issue in here.

the general idea is rename the wrapper utils /bin/filebeat from filebeat 7.x rpm package.

we can see a lot of people have trouble ,when they are install filebeat use rpm or just quickstart in [https://discuss.elastic.co/t/filebeat-changing-filebeats-path-for-its-configuration-module/236243](https://discuss.elastic.co/t/filebeat-changing-filebeats-path-for-its-configuration-module/236243)
and
[https://discuss.elastic.co/t/filebeat-configuration-module-path-issue/268871](https://discuss.elastic.co/t/filebeat-configuration-module-path-issue/268871)

but it is not their problem.

The problem is when we install filebeat use rpm follow this page :[Filebeat quick start: installation and configuration | Filebeat Reference [7.16] | Elastic](https://www.elastic.co/guide/en/beats/filebeat/7.16/filebeat-installation-configuration.html) use the command:
curl -L -O https://artifacts.elastic.co/downloads/beats/filebeat/filebeat-7.16.2-x86_64.rpm
sudo rpm -vi filebeat-7.16.2-x86_64.rpm

the rpm will install a wrapper utils,in /bin directory。but there is nothing about this in our document in [Directory layout | Filebeat Reference [7.16] | Elastic](https://www.elastic.co/guide/en/beats/filebeat/7.16/directory-layout.html)

so,a lot of people do not know this wrapper exist。

additional,in the quick start document ,see the pic:
[](https://aws1.discourse-cdn.com/elastic/original/3X/4/f/4fd58b0e1888defe3222583fafd8f43b1c43aa6b.png)

the filebeat program here is the /bin/filebeat , but a lot
of people will think it is /usr/share/filebeat/bin/filebeat .
because this two program have the same name,and there is no describe about /bin/filebeat in the directory-layou document [Directory layout | Filebeat Reference [7.16] | Elastic](https://www.elastic.co/guide/en/beats/filebeat/7.16/directory-layout.html)

In summary,i suggest :
1,in the directory-layou document page add the describe about utils program /bin/filebeat
or
2,change the utils program name,we can call it filebeat-utils,so
people will not puzzle with /usr/share/filebeat/bin/filebeat
3,add some describe in quick start,so the reader will know the filebeat in command line is used /bin/filebeat not /usr/share/filebeat/bin/filebeat

thinks.

@Filebeat

评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值