Facing issue with logstash services throwing "[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"

This is the data in the config file:
input {
file {
path => "C:/Automation/application07012020.log"
start_position => "beginning"
sincedb_path => "NUL"
}
}

output {
elasticsearch {
hosts => "localhost:9200"
index => "testindex3"
}
}

Running the cmd: ash-7.2.0\bin>logstash.bat -f C:\ELK\logstash-7.2.0\config\logstash-sample.conf

throwing the below error continously & completely confused & not able to process further. Please help out.

[2020-02-26T13:10:48,498][DEBUG][logstash.agent ] Converging pipelines state {:actions_count=>1}
[2020-02-26T13:10:48,508][DEBUG][logstash.agent ] Executing action {:action=>LogStash::PipelineAction::Create/pipeline_id:main}
[2020-02-26T13:10:52,682][DEBUG][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
[2020-02-26T13:10:53,040][DEBUG][logstash.instrument.periodicpoller.jvm] collector name {:name=>"ParNew"}
[2020-02-26T13:10:53,049][DEBUG][logstash.instrument.periodicpoller.jvm] collector name {:name=>"ConcurrentMarkSweep"}
[2020-02-26T13:10:57,714][DEBUG][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

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