# Logstash pauses on import and needs manual intervention

**URL:** <https://discuss.elastic.co/t/logstash-pauses-on-import-and-needs-manual-intervention/130529>\
**Category:** Logstash\
**Created:** [May 3, 2018, 9:32pm UTC](https://discuss.elastic.co/t/logstash-pauses-on-import-and-needs-manual-intervention/130529 "2018-05-03T21:32:31Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Consolodated\_Emails](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/consolodated_emails/32/30819_2.png) [@Consolodated\_Emails](https://discuss.elastic.co/u/Consolodated_Emails)\
**Post date:** [May 3, 2018, 9:32pm UTC](https://discuss.elastic.co/t/logstash-pauses-on-import-and-needs-manual-intervention/130529/1 "2018-05-03T21:32:31Z")

</div>

This is a bit of a weird issue.

I'm using Logstash to ingest gziped CSVs from S3 into Elasticsearch. It's a known issue that our data has hidden ASCII control characters (EOF, Pause, Break, etc) in it. I'm not sure if this is the cause of my issue but it could be. I've seen similar problems with other data tools.

I've recently setup Logstash to move our data into Elasticsearch. When I start Logstash manually in a terminal, I see the CSV rows fly by, every once and a while it pauses and wont continue until I hit return it continues with the ingestion. If I do this enough times, it will complete without errors. I thought it was a issue with me starting it manually in the terminal. I figured it was sending a pause and the terminal session was picking that up. But I disconnected the terminal session and it still got paused.

Does anyone know of a way to override this behavior? Obviously I can't babysit every ingestion.

Much appreciated..

---

<div class="post-metadata">

**Author:** ![atira](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/atira/32/28699_2.png) [@atira](https://discuss.elastic.co/u/atira)\
**Post date:** [May 4, 2018, 10:48pm UTC](https://discuss.elastic.co/t/logstash-pauses-on-import-and-needs-manual-intervention/130529/2 "2018-05-04T22:48:14Z")

</div>

Not sure what happens there, just wondering about this part:

> [@Consolodated\_Emails](#):
>
> But I disconnected the terminal session and it still got paused.

Did you start Logstash as a service or as a regular process? If the latter, did you start the process with nohup/disown or without it?

---

<div class="post-metadata">

**Author:** ![Consolodated\_Emails](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/consolodated_emails/32/30819_2.png) [@Consolodated\_Emails](https://discuss.elastic.co/u/Consolodated_Emails)\
**Post date:** [May 5, 2018, 9:49pm UTC](https://discuss.elastic.co/t/logstash-pauses-on-import-and-needs-manual-intervention/130529/3 "2018-05-05T21:49:02Z")

</div>

I figured out the issue was using the stdout { } output. I expected that to just post to the terminal but it appears to be interactive. So what I think happened is there is a pause ASCII character (or similar) somewhere in my text. I guess when it posts to the terminal session that causes the script to pause (??)..

When I disabled stdout { } the ingestion runs until completion with no intervention necessary.

---

<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:** [June 2, 2018, 9:49pm UTC](https://discuss.elastic.co/t/logstash-pauses-on-import-and-needs-manual-intervention/130529/4 "2018-06-02T21:49:04Z")

</div>

Closed on June 2, 2018, 9:49pm UTC

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