One or more required cgroup files or directories not found in logstash

I am getting error: One or more required cgroup files or directories not found

here is my input file
input {
file {
path => "/Users/spbhati/Downloads/S3BucketConfiguration.csv"
start_position => "beginning"
sincedb_path => "NULL"
codec=>multiline{
pattern =>"^{header"
negate=>true
what=> previous
auto_flush_interval=>5
multiline_tag=>""
}
}
}
filter{

}
output{
file {
path => "/Users/spbhati/Documents/dockerfiles/outfile.csv"
}
}

please let me know where i am missing.

You need to share the full log you are getting on Logstash.

Are you running LS on Linux or Win?

  • sincedb_path => "NUL" - Windows
  • sincedb_path => "/dev/null" - Linux

How did you run LS, as a process or a service?

Might be a user doesn't have permission on /Users/spbhati/Documents/dockerfiles/outfile.csv or /Users/spbhati/Downloads/S3BucketConfiguration.csv
Are you missing the drive letter: C:/Users/....

For testing purpose, you can use for the output:

output {
    stdout { codec => rubydebug{} }
}

That is normally a DEBUG message, not an ERROR. It should not stop anything working.

That will persist the in-memory sincedb to a file called NULL in logstash's working directory. On Windows you should use "NUL", on UNIX use "/dev/null".

1 Like

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