Graylog sidecar + Metricbeat send message but emty message

I am trying to setup metricbeat to sidecar and graylog and it connects

Metricbeat successed to connect to sidecar and send message, but the messages it sends are just emty. I was wondering, if that is at the configuration problem, but I couldn’t find any problem.

Generated metricbeat.conf

# 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
 hosts: ["10.49.130.139:1520"]

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: [".*"]

Output

Thanks for your help :smile:

Here is a reference file you can look at. Remember that yml files are very picky about indentation/spacing. You may have changed the text while pulling it over here to post… but as it stands, the indentation is incorrect.

Yours:

...
metricbeat.modules:
- module: system
metricsets:
 - cpu             # CPU usage
 - memory          # Memory usage
...

From Reference:

...
metricbeat.modules:
- module: system
  metricsets:
    - cpu             # CPU usage
    - load            # CPU load averages
    - memory          # Memory usage
...

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.