diff --git a/CHANGELOG.asciidoc b/CHANGELOG.asciidoc index 106129f3bbe..24f24047a3d 100644 --- a/CHANGELOG.asciidoc +++ b/CHANGELOG.asciidoc @@ -111,6 +111,7 @@ https://github.com/elastic/beats/compare/v6.0.0-beta2...master[Check the HEAD di - Fix process cgroup memory metrics for memsw, kmem, and kmem_tcp. {issue}6033[6033] - Fix kafka OffsetFetch request missing topic and partition parameters. {pull}5880[5880] - Change kubernetes.node.cpu.allocatable.cores to float. {pull}6130[6130] +- Fix system process metricset for kernel processes. {issue}5700[5700] *Packetbeat* diff --git a/libbeat/metric/system/process/process.go b/libbeat/metric/system/process/process.go index b5e87d4770b..7d89125b942 100644 --- a/libbeat/metric/system/process/process.go +++ b/libbeat/metric/system/process/process.go @@ -76,7 +76,7 @@ func newProcess(pid int, cmdline string, env common.MapStr) (*Process, error) { } exe := sigar.ProcExe{} - if err := exe.Get(pid); err != nil && !sigar.IsNotImplemented(err) && !os.IsPermission(err) { + if err := exe.Get(pid); err != nil && !sigar.IsNotImplemented(err) && !os.IsPermission(err) && !os.IsNotExist(err) { return nil, fmt.Errorf("error getting process exe for pid=%d: %v", pid, err) }