# Logstash API successfully started but the data doesnot load

**URL:** <https://discuss.elastic.co/t/logstash-api-successfully-started-but-the-data-doesnot-load/163806>\
**Category:** Logstash\
**Created:** [January 10, 2019, 9:15pm UTC](https://discuss.elastic.co/t/logstash-api-successfully-started-but-the-data-doesnot-load/163806 "2019-01-10T21:15:39Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![sahil\_ahmed](https://avatars.discourse-cdn.com/v4/letter/s/35a633/32.png) [@sahil\_ahmed](https://discuss.elastic.co/u/sahil_ahmed)\
**Post date:** [January 10, 2019, 9:15pm UTC](https://discuss.elastic.co/t/logstash-api-successfully-started-but-the-data-doesnot-load/163806/1 "2019-01-10T21:15:40Z")

</div>

Hello,

I was trying to input a csv file, It says pipeline started successfully, pipelines running, successfully started started logstash API endpoint {:port=\>9600} but it is not loading the csv file. any suggestions? Thanks in advance.

 ![37%20PM](https://us1.discourse-cdn.com/elastic/original/3X/f/0/f0b75a7c6151f8676c787f68a8bb0d7fd8460f0e.png)

---

<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:** [January 10, 2019, 9:17pm UTC](https://discuss.elastic.co/t/logstash-api-successfully-started-but-the-data-doesnot-load/163806/2 "2019-01-10T21:17:29Z")

</div>

What does your input configuration look like? My guess is it is waiting for data to be appended to the csv.

---

<div class="post-metadata">

**Author:** ![sahil\_ahmed](https://avatars.discourse-cdn.com/v4/letter/s/35a633/32.png) [@sahil\_ahmed](https://discuss.elastic.co/u/sahil_ahmed)\
**Post date:** [January 10, 2019, 9:27pm UTC](https://discuss.elastic.co/t/logstash-api-successfully-started-but-the-data-doesnot-load/163806/3 "2019-01-10T21:27:40Z")

</div>

i had uploaded the same CSV (file a) yesterday and i was trying to input multiple files today (file a(the same file i uploaded yesterday)) , file b(new csv)) and this happened.

config file:

input{

file{

type =\> "Mileage"

path =\> "/Users/sahilahmed/Downloads/elk/auto\_mpg.csv"

start\_position =\> "beginning"

sincedb\_path =\> "/dev/null"

}

file{

type =\> "Fifa"

path =\> "/users/sahilahmed/Downloads/elk/data.csv"

start\_position =\> "beginning"

sincedb\_path =\> "/dev/null"

}

}

output{

if [type] == "Mileage" {

elasticsearch{

hosts =\> "localhost"

index =\> "cars"

document\_type =\> "auto\_mpg"

}

}

if [type] == "Fifa"

{

elasticsearch{

hosts =\> "localhost"

index =\> "Players"

document\_type =\> "Player Ratings"

}

}

stdout {}

}

---

<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:** [January 10, 2019, 9:42pm UTC](https://discuss.elastic.co/t/logstash-api-successfully-started-but-the-data-doesnot-load/163806/4 "2019-01-10T21:42:29Z")

</div>

Enable trace level logging. You will get a bunch of message that should tell you what it is doing. Stuff like

```auto
[2019-01-10T16:39:51,066][TRACE][filewatch.tailmode.handlers.createinitial] handle_specifically opened file handle: 85, path: foo.txt
[2019-01-10T16:39:51,093][TRACE][filewatch.tailmode.handlers.createinitial] add_new_value_sincedb_collection {"position"=>0, "watched_file details"=>"<FileWatch::Watched File: @filename='foo.txt', @state='active', @recent_states='[:watched, :watched]', @bytes_read='0', @bytes_unread='954', current_size='954', last_stat_size='954', file_open?='true', @initial=true, @sincedb_key='59521 0 51714'>"}
[2019-01-10T16:39:51,130][TRACE][filewatch.tailmode.processor] Active - file grew: foo.txt: new size is 954, bytes read 0

```

Please do not post screenshots of text. Post the text itself.

---

<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:** [February 7, 2019, 9:42pm UTC](https://discuss.elastic.co/t/logstash-api-successfully-started-but-the-data-doesnot-load/163806/5 "2019-02-07T21:42:30Z")

</div>

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