首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Metr节特不将数据发送给Graylog sidecar

Metr节特不将数据发送给Graylog sidecar
EN

Stack Overflow用户
提问于 2022-05-19 09:18:48
回答 1查看 113关注 0票数 0

我试着把Metricbeat配置成Graylog sidecar,它成功了。它连接到侧面,但不发送任何数据。我怎么才能修好它?

这是我的配置文件

代码语言:javascript
复制
# Needed for Graylog
fields_under_root: true
fields.collector_node_id: term
fields.gl2_source_collector: b4af64b2-fd94-4b85-aa59-b92dd911fd39

metricbeat.config.modules:
 path: C:\Program Files\Graylog\sidecar\Metricbeat\modules.d\*.yml
 # Set to true to enable config reloading
 reload.enabled: false
 # Period on which files under path should be checked for changes
 reload.period: 10s

output.logstash:
 # The Logstash hosts
 enabled: true
 loadBalance: true
 hosts: ["IP:PORT"]

metricbeat.modules:
- module: system
metricsets:
 - cpu             # CPU usage
 - memory          # Memory usage
 - network         # Network IO
 #- process         # Per process metrics
 #- process_summary # Process summary
 - uptime          # System Uptime
 - socket_summary  # Socket summary
 #- core           # Per CPU core usage
 - diskio         # Disk IO
 - filesystem     # File system usage for each mountpoint
 #- fsstat         # File system summary metrics
 #- raid           # Raid
 #- socket         # Sockets and connection info (linux only)
 #- service        # systemd service information
enabled: true
period: 10s
processes: [".*"]

它连接到Graylog sidecar,但不发送数据

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2022-05-23 13:58:22

您需要配置输出。它应该指向Graylog服务器。Sidecar只是一个配置管理工具。您不通过它发送日志,而是将它们发送到Graylog服务器上的beats输入。

票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/72301867

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档