Can't find cgroup file, preventing pushing to an Elastic Cloud instance


(Benjamin Roffey) #1

Hi All,

I've been trying to setup a logstash export to the elastic cloud. I can parse the files into the correct format and send them to stdout, but when I try to send them to the cloud, I get the following error:

//[logstash.instrument.periodicpoller.cgroup] One or more required cgroup files or directories not found: /proc/self/cgroup, /sys/fs/cgroup/cpuacct, /sys/fs/cgroup/cpu

I've also got output logs of the correct data entering the pipeline, but nothing is showing up in the elastic search or kibana when I check them.

Really not sure where to go from here. I've found https://github.com/elastic/logstash/pull/9999 which indicates that the issue is known and has occurred in previous issues, but the mitigation strategies recommended don't seem to have an impact.


(Guy Boertje) #2

The update from PR 9999 went out in v6.4.2.

This PR for the ES docker image shows what to do to supply values for that update.


(system) #3

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