# Logstash csv - \[\[main\]\<file\] DEBUG logstash.inputs.file - each: file grew:

**URL:** <https://discuss.elastic.co/t/logstash-csv-main-file-debug-logstash-inputs-file-each-file-grew/77898>\
**Category:** Logstash\
**Created:** [March 8, 2017, 9:43pm UTC](https://discuss.elastic.co/t/logstash-csv-main-file-debug-logstash-inputs-file-each-file-grew/77898 "2017-03-08T21:43:27Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![alexus](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/alexus/32/12696_2.png) [@alexus](https://discuss.elastic.co/u/alexus)\
**Post date:** [March 8, 2017, 9:43pm UTC](https://discuss.elastic.co/t/logstash-csv-main-file-debug-logstash-inputs-file-each-file-grew/77898/1 "2017-03-08T21:43:27Z")

</div>

I'm trying to input csv file into elasticsearch, however before going there, I'd like to display data on screen first, yet when I attempt to run logstash, I'm getting an error and cannot figure out what I'm doing wrong...

```
$ cat ./etc/logstash/conf.d/* | grep -v \#

input {
  file {
    path => "/root/us_postal_codes.csv"
  }
}

filter {
  csv {
    columns => ["Postal Code","Place Name","State","State Abbreviation","County","Latitude","Longitude",""]
  }
}

output {
  stdout {codec => rubydebug}
}
$  

```

&

full output of [docker-compose up](http://pastebin.com/9GrB9sxj), but to narrow it down, logs keeps repeating itself with these:

```
logstash_1 | 15:12:52.744 [[main]<file] DEBUG logstash.inputs.file - each: file grew: /root/us_postal_codes.csv: old size 0, new size 2408030
logstash_1 | 15:12:53.746 [[main]<file] DEBUG logstash.inputs.file - each: file grew: /root/us_postal_codes.csv: old size 0, new size 2408030
logstash_1 | 15:12:54.747 [[main]<file] DEBUG logstash.inputs.file - each: file grew: /root/us_postal_codes.csv: old size 0, new size 2408030
logstash_1 | 15:12:55.748 [[main]<file] DEBUG logstash.inputs.file - each: file grew: /root/us_postal_codes.csv: old size 0, new size 2408030
logstash_1 | 15:12:56.749 [[main]<file] DEBUG logstash.inputs.file - each: file grew: /root/us_postal_codes.csv: old size 0, new size 2408030
logstash_1 | 15:12:57.433 [pool-2-thread-5] DEBUG logstash.instrument.periodicpoller.cgroup - Error, cannot retrieve cgroups information {:exception=>"Errno::ENOENT", :message=>"No such file or directory - /sys/fs/cgroup/cpuacct/system.slice/docker-284b94e8dced053b2f62bf8738fe8c2dd57853b6688d8513edfd44eb223c9113.scope/cpuacct.usage"}
logstash_1 | 15:12:57.731 [Ruby-0-Thread-14: /usr/share/logstash/logstash-core/lib/logstash/pipeline.rb:538] DEBUG logstash.pipeline - Pushing flush onto pipeline

```

... needless to say, file is static and is not growing as logstash suggests ...

Please advise...

---

<div class="post-metadata">

**Author:** ![RodrigoMontoro](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rodrigomontoro/32/16203_2.png) [@RodrigoMontoro](https://discuss.elastic.co/u/RodrigoMontoro)\
**Post date:** [March 8, 2017, 10:48pm UTC](https://discuss.elastic.co/t/logstash-csv-main-file-debug-logstash-inputs-file-each-file-grew/77898/2 "2017-03-08T22:48:04Z")

</div>

> [@alexus](#):
>
> output {  
> stout { }  
> }

It is stdout not stout.

---

<div class="post-metadata">

**Author:** ![alexus](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/alexus/32/12696_2.png) [@alexus](https://discuss.elastic.co/u/alexus)\
**Post date:** [March 9, 2017, 3:25pm UTC](https://discuss.elastic.co/t/logstash-csv-main-file-debug-logstash-inputs-file-each-file-grew/77898/3 "2017-03-09T15:25:37Z")

</div>

I corrected that error myself, however still thank you for trying to help me out)

I also updated my question with different issue that I'm encounter at the moment, if you could take a look at it, I'd much appreciate it)

Thanks again!

---

<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:** [April 6, 2017, 3:25pm UTC](https://discuss.elastic.co/t/logstash-csv-main-file-debug-logstash-inputs-file-each-file-grew/77898/4 "2017-04-06T15:25:47Z")

</div>

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