# Multiple csv files input and output abnormal(only read first line)

**URL:** <https://discuss.elastic.co/t/multiple-csv-files-input-and-output-abnormal-only-read-first-line/176004>\
**Category:** Logstash\
**Created:** [April 9, 2019, 10:05am UTC](https://discuss.elastic.co/t/multiple-csv-files-input-and-output-abnormal-only-read-first-line/176004 "2019-04-09T10:05:18Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ipv6ok](https://avatars.discourse-cdn.com/v4/letter/i/e19adc/32.png) [@ipv6ok](https://discuss.elastic.co/u/ipv6ok)\
**Post date:** [April 9, 2019, 10:05am UTC](https://discuss.elastic.co/t/multiple-csv-files-input-and-output-abnormal-only-read-first-line/176004/1 "2019-04-09T10:05:18Z")

</div>

if path parameter fill a single file :  
like this:  
/logdata/data1/warn/StutterAlarm-STB-10min/20190409.csv  
then  
Everything is all right  
but  
if path parameter fill a Multiple file（about sum 144 files）:  
like this:  
/logdata/data1/warn/StutterAlarm-STB-10min/\*.csv  
And logstash output Only Read the first line!!!! Why,I Didn't find out why。Can someone help！

my conf like this:

input {  
file {  
path =\> "/logdata/data1/warn/StutterAlarm-STB-10min/\*.csv"  
discover\_interval =\> 15  
start\_position =\> beginning  
sincedb\_path =\> "/logstash/testgz/logstash-6.6.1/test.txt"  
}  
}

my csv file very sample

2019-04-09 17:40|acity|0.00077|0.00695835|0.00315|0.9983088110941992

---

<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:** [May 7, 2019, 10:05am UTC](https://discuss.elastic.co/t/multiple-csv-files-input-and-output-abnormal-only-read-first-line/176004/2 "2019-05-07T10:05:18Z")

</div>

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