# Logstash Polling Loop Error

**URL:** https://discuss.elastic.co/t/logstash-polling-loop-error/146188
**Category:** Logstash
**Created:** [August 27, 2018, 2:12pm UTC](https://discuss.elastic.co/t/logstash-polling-loop-error/146188 "2018-08-27T14:12:26Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![David\_Barnett](https://avatars.discourse-cdn.com/v4/letter/d/e274bd/32.png) [@David\_Barnett](https://discuss.elastic.co/u/David_Barnett)
#### Post date: [August 27, 2018, 2:12pm UTC](https://discuss.elastic.co/t/logstash-polling-loop-error/146188/1 "2018-08-27T14:12:26Z")

</div>

Hi,

I am trying to get started with the ELK stack but have run into an issue that is blocking me.

I am using the ELK docker stack " **sebp/elk**" (latest)  
It starts up fine and then I use "goinside" to access the machine to try and insert my data.

/opt/logstash/bin/logstash --version  
logstash 6.3.2

I have successfully inserted some test data from the STDIN.

I then try and import some data from CSV.

My logstash.config file:

```
input {
	file {
		path => "/var/mydata/pim_products-basic-100.csv"
		start_position => "beginning"
		sincedb_path => "/dev/null"
	}
}
filter {
	csv {
		separator => ","
		columns => ["id","model_id","model","part_id","part","color_id","color","gender_id","gender","category_id","category","type_id","type","productline_id","productline","pillar_id","pillar","theme_id","theme","marketsegment_id","marketsegment","material_id","material","buyingsession_id","buyingsession","permanent","season_id","cites","ecommerce_height","ecommerce_length","ecommerce_depth","ecommerce_heel_height","ecommerce_strap_drop_length","ecommerce_belt_rise_length","dwh_translations","ecommerce_translations","enrichment_translations","enrichment_translations_count","ecommerce_images","ecommerce_images_count","enrichment_images","enrichment_images_count","enrichment_created_at","enrichment_created_by","enrichment_updated_at","enrichment_updated_by","dwh_created_at","dwh_updated_at","collection_id","collection","launch_date","f4_ecommerce_images","f4_ecommerce_images_count","f4_campaign_images","f4_campaign_images_count","available_in_heaven"]
	}
}
output {
	elasticsearch {
		hosts => "localhost"
		index => "products"
	}
	stdout {}
}

```

My docker-compose.yml

```
elk:
  image: sebp/elk
  ports:
  - "5601:5601"
  - "9200:9200"
  - "5044:5044"

volumes:
  - /Users/dave/Desktop/logstash-data:/var/mydata

```

root@d5e39cbd53a8:/var# /opt/logstash/bin/logstash --path.data /var/mydata --debug --log.level debug -f /var/mydata/logstash.config

The process seem to start up fine but then I get a repeating loop

...  
...  
[2018-08-27T13:50:51,049][DEBUG][logstash.instrument.periodicpoller.jvm] collector name {:name=\>"ParNew"}  
[2018-08-27T13:50:51,050][DEBUG][logstash.instrument.periodicpoller.jvm] collector name {:name=\>"ConcurrentMarkSweep"}  
[2018-08-27T13:50:51,221][DEBUG][logstash.inputs.file] \_globbed\_files: /var/mydata/pim\_products-basic-100.csv: glob is: []  
[2018-08-27T13:50:51,917][DEBUG][logstash.pipeline] Pushing flush onto pipeline {:pipeline\_id=\>"main", :thread=\>"#\<Thread:0x6384d4dc sleep\>"}  
[2018-08-27T13:50:55,866][DEBUG][logstash.instrument.periodicpoller.cgroup] Error, cannot retrieve **cgroups** information {:exception=\>"Errno::ENOENT", :message=\>"No such file or directory - /sys/fs/cgroup/cpuacct/docker/d5e39cbd53a86d80091f32508361e58ff0af00894a75976a79c4076627a30230/cpuacct.usage"}

I have tried rebuilding the stack images, restarting, rebooting 🙂  
But have no idea what it might be.

(Am on a Mac)

Any pointers would be fantastic.  
Thanks

---

<div class="post-metadata">

### Author: ![jarpy](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jarpy/32/51290_2.png) [@jarpy](https://discuss.elastic.co/u/jarpy)
#### Post date: [August 28, 2018, 6:24am UTC](https://discuss.elastic.co/t/logstash-polling-loop-error/146188/2 "2018-08-28T06:24:45Z")

</div>

Hi,

I think you are seeing [this error](https://github.com/elastic/logstash-docker/issues/89). However, that's only a warning and shouldn't be preventing Logstash from working. Is it possible that the data is getting through despite the message? If not, is there another error message somewhere that looks suspicious?

---

<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: [September 25, 2018, 6:24am UTC](https://discuss.elastic.co/t/logstash-polling-loop-error/146188/3 "2018-09-25T06:24:48Z")

</div>

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