That seems to have worked:
DUMMY
}
"system" => {
"load" => {
"1" => 0.19,
"cores" => 8,
"15" => 0.21,
"5" => 0.2,
"norm" => {
"1" => 0.0238,
"15" => 0.0263,
"5" => 0.025
}
}
},
"@timestamp" => 2018-07-24T13:23:37.321Z,
"@metadata" => {
"beat" => "metricbeat",
"type" => "doc",
"version" => "6.3.0",
"ip_address" => "my_ip"
},
"host" => {
"name" => "myname"
},
"beat" => {
"hostname" => "my_hostname",
"name" => "my_name",
"version" => "6.3.0"
},
"@version" => "1",
"metricset" => {
"rtt" => 448,
"module" => "system",
"name" => "load"
},
"message" => "dummy_message",
"tags" => [
[0] "beats_input_raw_event"
]
}
METADATA:
{
"system" => {
"cpu" => {
"total" => {
"pct" => 0
},
"system" => {
"pct" => 0
},
"cores" => 8,
"softirq" => {
"pct" => 0
},
"idle" => {
"pct" => 0
},
"steal" => {
"pct" => 0
},
"irq" => {
"pct" => 0
},
"iowait" => {
"pct" => 0
},
"user" => {
"pct" => 0
},
"nice" => {
"pct" => 0
}
}
},
"@timestamp" => 2018-07-24T13:31:28.385Z,
"@metadata" => {
"beat" => "metricbeat",
"type" => "doc",
"version" => "6.3.0",
"ip_address" => "my_ip"
},
"host" => {
"name" => "my_name"
},
"beat" => {
"hostname" => "my_hostname",
"name" => "my_name",
"version" => "6.3.0"
},
"@version" => "1",
"metricset" => {
"rtt" => 451,
"module" => "system",
"name" => "cpu"
},
"message" => "metricbeat",
"tags" => [
[0] "beats_input_raw_event"
]
}
GELF
[2018-07-24T14:32:53,424][DEBUG][logstash.outputs.gelf ] Sending GELF event {:event=>{"short_message"=>"metricbeat", "full_message"=>"metricbeat", "host"=>"{\"name\":\"my_host\"}", "_beat_version"=>"6.3.0", "_beat_name"=>"beat_name", "_beat_hostname"=>"my_hostname", "_system_process"=>{"cwd"=>"/srv/gLive/bin", "cmdline"=>"./Synchroniser -c ../conf/synchroniser.conf", "state"=>"sleeping", "name"=>"Synchroni", "username"=>"my_username", "pid"=>8231, "cpu"=>{"start_time"=>"2018-07-17T14:57:31.000Z", "total"=>{"pct"=>0.0148, "norm"=>{"pct"=>0.0019}, "value"=>10807020.0}}, "fd"=>{"limit"=>{"soft"=>1024, "hard"=>1024}, "open"=>10}, "memory"=>{"share"=>9981952, "rss"=>{"pct"=>0.0123, "bytes"=>419389440}, "size"=>510283776}, "ppid"=>1, "pgid"=>8231}, "_tags"=>"beats_input_raw_event", "_metricset_rtt"=>103098, "_metricset_name"=>"process", "_metricset_module"=>"system", "level"=>6}}
Two considerations:
- will not this append metricbeat to all my Beats?
- Is the missing value (short_message) to be considered a bug?
Thank you.