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

**URL:** https://discuss.elastic.co/t/one-or-more-required-cgroup-files-or-directories-not-found-in-logstash/337348
**Category:** Logstash
**Created:** [July 1, 2023, 6:06am UTC](https://discuss.elastic.co/t/one-or-more-required-cgroup-files-or-directories-not-found-in-logstash/337348 "2023-07-01T06:06:28Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![sanjay\_bhati](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sanjay_bhati/32/122517_2.png) [@sanjay\_bhati](https://discuss.elastic.co/u/sanjay_bhati)
#### Post date: [July 1, 2023, 6:06am UTC](https://discuss.elastic.co/t/one-or-more-required-cgroup-files-or-directories-not-found-in-logstash/337348/1 "2023-07-01T06:06:28Z")

</div>

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.

---

<div class="post-metadata">

### Author: ![leandrojmp](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/leandrojmp/32/107231_2.png) [@leandrojmp](https://discuss.elastic.co/u/leandrojmp)
#### Post date: [July 1, 2023, 11:27am UTC](https://discuss.elastic.co/t/one-or-more-required-cgroup-files-or-directories-not-found-in-logstash/337348/2 "2023-07-01T11:27:04Z")

</div>

> [@sanjay\_bhati](#):
>
> I am getting error: One or more required cgroup files or directories not found

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

---

<div class="post-metadata">

### Author: ![Rios](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rios/32/95745_2.png) [@Rios](https://discuss.elastic.co/u/Rios)
#### Post date: [July 1, 2023, 3:20pm UTC](https://discuss.elastic.co/t/one-or-more-required-cgroup-files-or-directories-not-found-in-logstash/337348/3 "2023-07-01T15:20:01Z")

</div>

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:

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

```

---

<div class="post-metadata">

### Author: ![Badger](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/badger/32/25190_2.png) [@Badger](https://discuss.elastic.co/u/Badger)
#### Post date: [July 1, 2023, 4:02pm UTC](https://discuss.elastic.co/t/one-or-more-required-cgroup-files-or-directories-not-found-in-logstash/337348/4 "2023-07-01T16:02:14Z")

</div>

> [@sanjay\_bhati](#):
>
> I am getting error: One or more required cgroup files or directories not found

That is [normally](https://discuss.elastic.co/t/one-or-more-required-cgroup-files-not-found-of-cgroup/163054/2) a DEBUG message, not an ERROR. It should not stop anything working.

> [@](#):
>
> sincedb\_path =\> "NULL"

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".

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [July 29, 2023, 4:02pm UTC](https://discuss.elastic.co/t/one-or-more-required-cgroup-files-or-directories-not-found-in-logstash/337348/5 "2023-07-29T16:02:56Z")

</div>

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