# How to get the ouput

**URL:** https://discuss.elastic.co/t/how-to-get-the-ouput/60389
**Category:** Logstash
**Created:** [September 13, 2016, 2:33pm UTC](https://discuss.elastic.co/t/how-to-get-the-ouput/60389 "2016-09-13T14:33:35Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![sweta](https://avatars.discourse-cdn.com/v4/letter/s/258eb7/32.png) [@sweta](https://discuss.elastic.co/u/sweta)
#### Post date: [September 13, 2016, 2:33pm UTC](https://discuss.elastic.co/t/how-to-get-the-ouput/60389/1 "2016-09-13T14:33:35Z")

</div>

![](https://us1.discourse-cdn.com/elastic/original/2X/5/5b7e96cb38c3b520697129b66002453eff514675.png) ![](https://us1.discourse-cdn.com/elastic/original/2X/9/9507428ad4957527044c7bc4c881cbd8d5f555f5.png) ![](https://us1.discourse-cdn.com/elastic/original/2X/b/b10c36298f76a8deb20c1c29316534c9709c7a73.png)  
can any one tell me why i am not getting the output.I am very new in this technology and started learning it from last week i dont know what is the problem and how i can solve this problem.

---

<div class="post-metadata">

### Author: ![Alex\_6](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/alex_6/32/1330_2.png) [@Alex\_6](https://discuss.elastic.co/u/Alex_6)
#### Post date: [September 13, 2016, 2:38pm UTC](https://discuss.elastic.co/t/how-to-get-the-ouput/60389/2 "2016-09-13T14:38:42Z")

</div>

In your file input plugin use the [`start_position` attribute](https://www.elastic.co/guide/en/logstash/current/plugins-inputs-file.html#plugins-inputs-file-start_position) and set it to `beginning`.

This will make the file input read from the beginning of the file. Otherwise it will only start reading from the end and wait for any new lines to be added.

If you need to repeatedly test the same file make sure to delete your sincedb file after each test so that the file input will read from the beginning again.

---

<div class="post-metadata">

### Author: ![sweta](https://avatars.discourse-cdn.com/v4/letter/s/258eb7/32.png) [@sweta](https://discuss.elastic.co/u/sweta)
#### Post date: [September 13, 2016, 2:51pm UTC](https://discuss.elastic.co/t/how-to-get-the-ouput/60389/3 "2016-09-13T14:51:19Z")

</div>

I use the start\_position=\>"beginning" but still it is not working

---

<div class="post-metadata">

### Author: ![Alex\_6](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/alex_6/32/1330_2.png) [@Alex\_6](https://discuss.elastic.co/u/Alex_6)
#### Post date: [September 13, 2016, 2:54pm UTC](https://discuss.elastic.co/t/how-to-get-the-ouput/60389/4 "2016-09-13T14:54:59Z")

</div>

Oh dang, I misread your original post somehow. In that case I can't see what's going wrong.

You should start with a simpler config and build it up with more components to see where it's going wrong. If you remove the entire filter section and the Elasticsearch output does it read out the log lines to the terminal? Remember to delete the sincedb file first.

---

<div class="post-metadata">

### Author: ![magnusbaeck](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/magnusbaeck/32/44943_2.png) [@magnusbaeck](https://discuss.elastic.co/u/magnusbaeck)
#### Post date: [September 15, 2016, 5:49am UTC](https://discuss.elastic.co/t/how-to-get-the-ouput/60389/5 "2016-09-15T05:49:22Z")

</div>

If the input file is older than 24 hours make sure you adjust the file input's `ignore_older` option.

---

<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: [July 6, 2017, 4:38am UTC](https://discuss.elastic.co/t/how-to-get-the-ouput/60389/6 "2017-07-06T04:38:24Z")

</div>


