查看filebeat版本
发表于|更新于|编程文摘
|浏览量:
对于 Linux 服务器上已安装好的 filebeat,该如何查看 filebeat 版本?
执行命令 filebeat version 即可输出 filebeat 的版本信息。在下面的示例中,filebeat 的版本号为 7.13.4。
1 | $ filebeat version |
(END)
文章作者: Johnson Lin
版权声明: 本博客所有文章除特别声明外,均采用 CC BY-NC-SA 4.0 许可协议。转载请注明来源 Johnson Lin!
相关推荐
2023-02-23
安装Filebeat
Filebeat 在 Linux、Unix、Mac 和 Windows 上均可正常运行。根据我们当前使用的服务器的系统类型,选择适用于该系统的命令来下载和安装 Filebeat。 在 Linux 上安装 Filebeat首先,你可以试着输入 filebeat version,看看系统有没有安装 Filebeat: 12$ filebeat versionfilebeat: command not found 或者使用 whereis 命令查看, 12$ whereis filebeatfilebeat: 类似上面的命令的输出结果,说明当前系统并没有安装 Filebeat。 你可以使用以下命令下载 Filebeat 压缩包文件: 1curl -L -O https://artifacts.elastic.co/downloads/beats/filebeat/filebeat-8.6.2-linux-x86_64.tar.gz 解压文件: 1tar xzf filebeat-8.6.2-linux-x86_64.tar.gz 为了方便后续使用,建议将解压后的目录添加到系统环境变量中...
2024-06-04
Checking Filebeat Version
To ensure your Filebeat installation is up-to-date and functioning correctly, verifying the version is essential. Here’s a straightforward method to check the Filebeat version on your system: Command Line Check: Open your terminal or command prompt and execute the following command:1filebeat versionThis command will display the installed Filebeat version along with the build number and other relevant information. Output Interpretation: After running the command, you should see output simi...
2023-04-18
Filebeat 配置 Http Endpoint
Filebeat 可以通过 HTTP 终点来暴露内部的指标。这些指标对于监控 Beat 的内部状态很有用。但出于安全原因,该功能默认是禁用的。要开启该功能,需要在 filebeat.yml 文件中添加以下配置项: 12http: enabled: true 开启了该功能后,在浏览器访问地址 http://localhost:5066/stats 即可查看各项统计指标。要美化 JSON 输出数据格式,可以在该地址后面加上 ?pretty ,即:http://localhost:5066/stats?pretty 需要注意的是,这个功能目前还是实验性的。 HTTP 终点配置说明 配置 可选/必填 默认 说明 http.enabled (可选) false 启用 HTTP 终点。 http.host (可选) localhost 绑定到这个主机名、IP 地址、unix 套接字(unix:///var/run/filebeat.sock)或 Windows 命名的管道(npipe:///filebeat)。建议只使用 localhost。默认为 localhost...
2022-10-14
【Elasticsearch】Query DSL查询指定字段值为null的文档
Hey,大家好!我是 Elasticsearch 新手。我想知道如何通过 Query DSL 找出指定字段值为 null 的文档。 以下是我索引(索引名:class_info_v22002,用来存放班级信息)创建的 DSL: 123456789101112131415161718192021PUT class_info_v22002{ "settings": { "refresh_interval": "1s", "number_of_replicas": 1, "number_of_shards": 3 }, "mappings": { "properties": { "class_id": { "type": "integer" }, ...
2023-04-24
Ubuntu 20.04 上安装 pip3.7 错误:ModuleNotFoundError: No module named 'distutils.cmd'
我在 Ubuntu 20.04 系统上已经安装好 python3.7,然后手动安装 pip: 首先,下载 get-pip.py 文件: 1wget https://bootstrap.pypa.io/get-pip.py 然后等该文件下载完后,使用以下命令安装 pip: 1python3.7 get-pip.py 结果出现以下错误信息: 1234567891011121314151617181920$ python3.7 get-pip.pyTraceback (most recent call last): File "get-pip.py", line 32321, in <module> main() File "get-pip.py", line 135, in main bootstrap(tmpdir=tmpdir) File "get-pip.py", line 111, in bootstrap monkeypatch_for_cert(tmpdir) File ...

2022-10-13
Elasticsearch使用Query DSL批量写数据至索引报json_e_o_f_exception异常
我在 Kibana 的开发工具页面中使用 Query DSL 给索引批量添加数据时,出现了 json_e_o_f_exception 异常。 重现步骤如下: 创建索引 DSL: 12345678910111213141516171819202122232425262728PUT user_info_v202210120517219 { "settings": { "refresh_interval": "1s", "number_of_replicas": 1, "number_of_shards": 5 }, "mappings": { "properties": { "user_id": { "type": "integer" }, &...


