# Facing error

**URL:** <https://discuss.elastic.co/t/facing-error/158067>\
**Category:** Logstash\
**Created:** [November 24, 2018, 12:39pm UTC](https://discuss.elastic.co/t/facing-error/158067 "2018-11-24T12:39:34Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![yogesh\_kumar](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/yogesh_kumar/32/85214_2.png) [@yogesh\_kumar](https://discuss.elastic.co/u/yogesh_kumar)\
**Post date:** [November 24, 2018, 12:39pm UTC](https://discuss.elastic.co/t/facing-error/158067/1 "2018-11-24T12:39:34Z")

</div>

File content:  
input {  
file {  
path =\> "/app/pentaho/pentaho/pdi-ee/data-integration-server/tomcat/logs/localhost-access.2018-11-23.log"  
type =\> "tomcat\_access"  
}

# The filter part of this file is commented out to indicate that it is

# optional.

# filter {

# 

# }

output {  
stdout { codec =\> rubydebug }  
}

Tried  
bin/logstash -e 'input { file {path =\> "/app/pentaho/pentaho/pdi-ee/data-integration-server/mcat/logs/localhost-access.2018-11-23.log" type =\> "tomcat\_access" } output { stdout {} }'

# tried

[root@pentapp-ch2-f2i ~]# /app/platform/logstash-6.5.0/bin/logstash -f /app/platform/logstash-6.5.0/config/04\_test.conf  
Sending Logstash logs to /app/platform/logstash-6.5.0/logs which is now configured via log4j2.properties  
[2018-11-24T11:04:11,740][WARN][logstash.config.source.multilocal] Ignoring the 'pipelines.yml' file because modules or command line options are specified  
[2018-11-24T11:04:11,782][INFO][logstash.runner] Starting Logstash {"logstash.version"=\>"6.5.0"}  
[2018-11-24T11:04:15,169][ERROR][logstash.agent] Failed to execute action {:action=\>LogStash::PipelineAction::Create/pipeline\_id:main, :exception=\>"LogStash::ConfigurationError", :message=\>"Expected one of #, =\> at line 12, column 15 (byte 266) after input {\n file {\n path =\> "/var/log/curator.log"\n type =\> "curator"\n }\nfile {\n path =\> "/app/pentaho/pentaho/pdi-ee/data-integration-server/tomcat/logs/localhost-access.2018-11-23.log"\n type =\> "tomcat\_access"\n}\n\noutput {\nelasticsearch ", :backtrace=\>["/app/platform/logstash-6.5.0/logstash-core/lib/logstash/compiler.rb:41:in `compile_imperative'", "/app/platform/logstash-6.5.0/logstash-core/lib/logstash/compiler.rb:49:in`compile\_graph'", "/app/platform/logstash-6.5.0/logstash-core/lib/logstash/compiler.rb:11:in `block in compile_sources'", "org/jruby/RubyArray.java:2486:in`map'", "/app/platform/logstash-6.5.0/logstash-core/lib/logstash/compiler.rb:10:in `compile_sources'", "org/logstash/execution/AbstractPipelineExt.java:149:in`initialize'", "/app/platform/logstash-6.5.0/logstash-core/lib/logstash/pipeline.rb:22:in `initialize'", "/app/platform/logstash-6.5.0/logstash-core/lib/logstash/pipeline.rb:90:in`initialize'", "/app/platform/logstash-6.5.0/logstash-core/lib/logstash/pipeline\_action/create.rb:42:in `block in execute'", "/app/platform/logstash-6.5.0/logstash-core/lib/logstash/agent.rb:92:in`block in exclusive'", "org/jruby/ext/thread/Mutex.java:148:in `synchronize'", "/app/platform/logstash-6.5.0/logstash-core/lib/logstash/agent.rb:92:in`exclusive'", "/app/platform/logstash-6.5.0/logstash-core/lib/logstash/pipeline\_action/create.rb:38:in `execute'", "/app/platform/logstash-6.5.0/logstash-core/lib/logstash/agent.rb:317:in`block in converge\_state'"]}  
[2018-11-24T11:04:16,014][INFO][logstash.agent] Successfully started Logstash API endpoint {:port=\>9600}

---

<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:** [December 22, 2018, 12:39pm UTC](https://discuss.elastic.co/t/facing-error/158067/2 "2018-12-22T12:39:34Z")

</div>

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