# Logstash error Cpu.cfs\_period\_us cannot be found

**URL:** https://discuss.elastic.co/t/logstash-error-cpu-cfs-period-us-cannot-be-found/349515
**Category:** Logstash
**Created:** [December 17, 2023, 2:31pm UTC](https://discuss.elastic.co/t/logstash-error-cpu-cfs-period-us-cannot-be-found/349515 "2023-12-17T14:31:56Z")
**Posts on this page:** 11
**Page:** 1

<div class="post-metadata">

### Author: ![Lena\_Yoon](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/lena_yoon/32/123006_2.png) [@Lena\_Yoon](https://discuss.elastic.co/u/Lena_Yoon)
#### Post date: [December 17, 2023, 2:31pm UTC](https://discuss.elastic.co/t/logstash-error-cpu-cfs-period-us-cannot-be-found/349515/1 "2023-12-17T14:31:56Z")

</div>

Hello,

I have been working with Logstash this week but stuck with below error.  
The error occurs when retrieving data from Oracle DB using the JDBC input plugin, filtering it in the pipeline, and despite the index being created and data being stored in Elasticsearch, the pipeline doesn't terminate successfully.

* * *

Logstash error  
Cpu.cfs\_period\_us cannot be found  
Try providing an override ls.cgroup.cpu.path.override  
In the logstash java\_opts environment variable  
Collector name parnew  
Collecotr name concuttentmarksweep

* * *

Could you kindly advise what should I do next?

Thanks in advance

---

<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: [December 17, 2023, 9:58pm UTC](https://discuss.elastic.co/t/logstash-error-cpu-cfs-period-us-cannot-be-found/349515/2 "2023-12-17T21:58:31Z")

</div>

Welcome to the community.

> [@Lena\_Yoon](#):
>
> Cpu.cfs\_period\_us cannot be found

It's not easy figure out what is here a problem. It sounds like [Cpu][cfs\_period\_us] field is missing and your .conf is using somewhere in filter, I assume.  
Have you used perhaps debug mode?  
Can you copy a message where is falling?  
Can you copy like where is the problem or .conf file?

---

<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: [December 17, 2023, 10:11pm UTC](https://discuss.elastic.co/t/logstash-error-cpu-cfs-period-us-cannot-be-found/349515/3 "2023-12-17T22:11:46Z")

</div>

> [@Lena\_Yoon](#):
>
> Could you kindly advise what should I do next?

Can you share the log error as presented on logstash logs? The `cgroup` log lines are normally only printed on DEBUG mode, and they are not an issue.

---

<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: [December 17, 2023, 10:42pm UTC](https://discuss.elastic.co/t/logstash-error-cpu-cfs-period-us-cannot-be-found/349515/4 "2023-12-17T22:42:01Z")

</div>

> [@Lena\_Yoon](#):
>
> the pipeline doesn't terminate successfully

The default behaviour for a pipeline with a jdbc input is to terminate after it completes the query (unless you set the schedule option). When the input terminates the pipeline should terminate unless there is another input keeping it alive. Can you turn off DEBUG level logging and show us the logstash logs? Also share your input configuration.

---

<div class="post-metadata">

### Author: ![Lena\_Yoon](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/lena_yoon/32/123006_2.png) [@Lena\_Yoon](https://discuss.elastic.co/u/Lena_Yoon)
#### Post date: [December 18, 2023, 7:29am UTC](https://discuss.elastic.co/t/logstash-error-cpu-cfs-period-us-cannot-be-found/349515/6 "2023-12-18T07:29:37Z")

</div>

Hello, this error occurs in debug mode..

---

<div class="post-metadata">

### Author: ![Lena\_Yoon](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/lena_yoon/32/123006_2.png) [@Lena\_Yoon](https://discuss.elastic.co/u/Lena_Yoon)
#### Post date: [December 18, 2023, 7:38am UTC](https://discuss.elastic.co/t/logstash-error-cpu-cfs-period-us-cannot-be-found/349515/7 "2023-12-18T07:38:44Z")

</div>

hello and thanks.

this error occurs in debug mode.  
here are the logs

 ![20231218_163405](https://us1.discourse-cdn.com/elastic/original/3X/a/a/aaed01741b103eeb9cecf599d0576197f018c5d9.jpeg)

---

<div class="post-metadata">

### Author: ![Lena\_Yoon](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/lena_yoon/32/123006_2.png) [@Lena\_Yoon](https://discuss.elastic.co/u/Lena_Yoon)
#### Post date: [December 18, 2023, 7:41am UTC](https://discuss.elastic.co/t/logstash-error-cpu-cfs-period-us-cannot-be-found/349515/8 "2023-12-18T07:41:01Z")

</div>

hello the error occurs in debug mode and could u look into the log copy below?

 ![20231218_163405](https://us1.discourse-cdn.com/elastic/original/3X/a/a/aaed01741b103eeb9cecf599d0576197f018c5d9.jpeg)

---

<div class="post-metadata">

### Author: ![Lena\_Yoon](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/lena_yoon/32/123006_2.png) [@Lena\_Yoon](https://discuss.elastic.co/u/Lena_Yoon)
#### Post date: [December 18, 2023, 7:53am UTC](https://discuss.elastic.co/t/logstash-error-cpu-cfs-period-us-cannot-be-found/349515/9 "2023-12-18T07:53:55Z")

</div>

hello, the error is debug mode error.

Here is the log capture

 ![20231218_163405](https://us1.discourse-cdn.com/elastic/original/3X/a/a/aaed01741b103eeb9cecf599d0576197f018c5d9.jpeg)

---

<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: [December 18, 2023, 11:40am UTC](https://discuss.elastic.co/t/logstash-error-cpu-cfs-period-us-cannot-be-found/349515/10 "2023-12-18T11:40:49Z")

</div>

Please, do not share screenshots, they are pretty hard to read and some people may not even be able to read it.

Share the logs as text, use the preformatted text option, the `</>` button.

---

<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: [December 18, 2023, 11:43am UTC](https://discuss.elastic.co/t/logstash-error-cpu-cfs-period-us-cannot-be-found/349515/11 "2023-12-18T11:43:11Z")

</div>

> [@Lena\_Yoon](#):
>
> this error occurs in debug mode.

It is not an error when it is logged only in DEBUG mode, turn off DEBUG mode as it is rarely needed.

Check this [post for more context](https://discuss.elastic.co/t/one-or-more-required-cgroup-files-not-found-of-cgroup/163054/2)

---

<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: [January 15, 2024, 11:43am UTC](https://discuss.elastic.co/t/logstash-error-cpu-cfs-period-us-cannot-be-found/349515/12 "2024-01-15T11:43:13Z")

</div>

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