# Not able to see the out when i run logstash

**URL:** <https://discuss.elastic.co/t/not-able-to-see-the-out-when-i-run-logstash/133967>\
**Category:** Logstash\
**Created:** [May 31, 2018, 5:08am UTC](https://discuss.elastic.co/t/not-able-to-see-the-out-when-i-run-logstash/133967 "2018-05-31T05:08:57Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![naga\_kunchala](https://avatars.discourse-cdn.com/v4/letter/n/d9b06d/32.png) [@naga\_kunchala](https://discuss.elastic.co/u/naga_kunchala)\
**Post date:** [May 31, 2018, 5:08am UTC](https://discuss.elastic.co/t/not-able-to-see-the-out-when-i-run-logstash/133967/1 "2018-05-31T05:08:57Z")

</div>

when i run logstash withe ./logstash -f /etc/logstash/conf.d/logstash-filter.conf.

not geeting any output and see the below error.

[root@localhost bin]# ./logstash -f /etc/logstash/conf.d/logstash-filter.conf  
OpenJDK 64-Bit Server VM warning: If the number of processors is expected to increase from one, then you should configure the number of parallel GC threads appropriately using -XX:ParallelGCThreads=N  
WARNING: Could not find logstash.yml which is typically located in $LS\_HOME/config or /etc/logstash. You can specify the path using --path.settings. Continuing using the defaults  
Could not find log4j2 configuration at path /usr/share/logstash/config/log4j2.properties. Using default config which logs errors to the console  
[INFO] 2018-05-30 22:01:45.942 [main] scaffold - Initializing module {:module\_name=\>"fb\_apache", :directory=\>"/usr/share/logstash/modules/fb\_apache/configuration"}  
[INFO] 2018-05-30 22:01:45.950 [main] scaffold - Initializing module {:module\_name=\>"netflow", :directory=\>"/usr/share/logstash/modules/netflow/configuration"}  
[WARN] 2018-05-30 22:01:46.667 [LogStash::Runner] multilocal - Ignoring the 'pipelines.yml' file because modules or command line options are specified  
[INFO] 2018-05-30 22:01:46.951 [LogStash::Runner] runner - Starting Logstash {"logstash.version"=\>"6.2.4"}  
[INFO] 2018-05-30 22:01:47.242 [Api Webserver] agent - Successfully started Logstash API endpoint {:port=\>9601}  
[INFO] 2018-05-30 22:01:48.250 [Ruby-0-Thread-1: /usr/share/logstash/vendor/bundle/jruby/2.3.0/gems/stud-0.0.23/lib/stud/task.rb:22] pipeline - Starting pipeline {:pipeline\_id=\>"main", "pipeline.workers"=\>1, "pipeline.batch.size"=\>125, "pipeline.batch.delay"=\>50}  
[INFO] 2018-05-30 22:01:48.763 [Ruby-0-Thread-1: /usr/share/logstash/vendor/bundle/jruby/2.3.0/gems/stud-0.0.23/lib/stud/task.rb:22] pipeline - Pipeline started successfully {:pipeline\_id=\>"main", :thread=\>"#\<Thread:0x11dc8c05@/usr/share/logstash/logstash-core/lib/logstash/pipeline.rb:247 run\>"}  
[INFO] 2018-05-30 22:01:48.776 [Ruby-0-Thread-1: /usr/share/logstash/vendor/bundle/jruby/2.3.0/gems/stud-0.0.23/lib/stud/task.rb:22] agent - Pipelines running {:count=\>1, :pipelines=\>["main"]}

---

<div class="post-metadata">

**Author:** ![naga\_kunchala](https://avatars.discourse-cdn.com/v4/letter/n/d9b06d/32.png) [@naga\_kunchala](https://discuss.elastic.co/u/naga_kunchala)\
**Post date:** [May 31, 2018, 5:11am UTC](https://discuss.elastic.co/t/not-able-to-see-the-out-when-i-run-logstash/133967/2 "2018-05-31T05:11:11Z")

</div>

can you help me on this

---

<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:** [May 31, 2018, 6:13am UTC](https://discuss.elastic.co/t/not-able-to-see-the-out-when-i-run-logstash/133967/3 "2018-05-31T06:13:56Z")

</div>

And what's in logstash-filter.conf?

---

<div class="post-metadata">

**Author:** ![naga\_kunchala](https://avatars.discourse-cdn.com/v4/letter/n/d9b06d/32.png) [@naga\_kunchala](https://discuss.elastic.co/u/naga_kunchala)\
**Post date:** [May 31, 2018, 6:47am UTC](https://discuss.elastic.co/t/not-able-to-see-the-out-when-i-run-logstash/133967/4 "2018-05-31T06:47:01Z")

</div>

input {  
file {  
path =\> "/home/kunchala/log.txt"  
start\_position =\> "beginning"  
}  
}  
output {  
stdout {}  
file {  
path =\> "/home/kunchala/logstash.txt"  
}  
}

---

<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:** [May 31, 2018, 6:48am UTC](https://discuss.elastic.co/t/not-able-to-see-the-out-when-i-run-logstash/133967/5 "2018-05-31T06:48:57Z")

</div>

I'm guessing Logstash thinks it already has processed the file. You can use the `sincedb_path` option to the file input to reset Logstash's opinion of the current position in the file. Please consult the file input documentation and countless previous posts on this topic.

---

<div class="post-metadata">

**Author:** ![naga\_kunchala](https://avatars.discourse-cdn.com/v4/letter/n/d9b06d/32.png) [@naga\_kunchala](https://discuss.elastic.co/u/naga_kunchala)\
**Post date:** [May 31, 2018, 6:54am UTC](https://discuss.elastic.co/t/not-able-to-see-the-out-when-i-run-logstash/133967/6 "2018-05-31T06:54:01Z")

</div>

i am new to logstash, can you please provide one example how to use sincedb\_path option to the file input to reset Logstash's opinion of the current position in the file

---

<div class="post-metadata">

**Author:** ![naga\_kunchala](https://avatars.discourse-cdn.com/v4/letter/n/d9b06d/32.png) [@naga\_kunchala](https://discuss.elastic.co/u/naga_kunchala)\
**Post date:** [May 31, 2018, 8:30am UTC](https://discuss.elastic.co/t/not-able-to-see-the-out-when-i-run-logstash/133967/7 "2018-05-31T08:30:53Z")

</div>

can you please help me still i am facing same issue

---

<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 28, 2018, 8:30am UTC](https://discuss.elastic.co/t/not-able-to-see-the-out-when-i-run-logstash/133967/8 "2018-06-28T08:30:53Z")

</div>

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