# How can you detect the Query steam has ended? Can plugin provide "EOF" as tag to signal End of SQL data?

**URL:** https://discuss.elastic.co/t/how-can-you-detect-the-query-steam-has-ended-can-plugin-provide-eof-as-tag-to-signal-end-of-sql-data/72558
**Category:** Logstash
**Created:** [January 24, 2017, 3:11am UTC](https://discuss.elastic.co/t/how-can-you-detect-the-query-steam-has-ended-can-plugin-provide-eof-as-tag-to-signal-end-of-sql-data/72558 "2017-01-24T03:11:28Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![iti](https://avatars.discourse-cdn.com/v4/letter/i/b19c9b/32.png) [@iti](https://discuss.elastic.co/u/iti)
#### Post date: [January 24, 2017, 3:11am UTC](https://discuss.elastic.co/t/how-can-you-detect-the-query-steam-has-ended-can-plugin-provide-eof-as-tag-to-signal-end-of-sql-data/72558/1 "2017-01-24T03:11:28Z")

</div>

I have raised the same question at github, but looks like there is no interest.

> <https://github.com/logstash-plugins/logstash-input-jdbc/issues/188>

The problem is about input plugin create the EVENT steam, but did not provide a way for the later filter or output to determine the work is done.  
Anyone has any advise?

Thanks

---

<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 21, 2017, 3:11am UTC](https://discuss.elastic.co/t/how-can-you-detect-the-query-steam-has-ended-can-plugin-provide-eof-as-tag-to-signal-end-of-sql-data/72558/2 "2017-02-21T03:11:29Z")

</div>

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